Borderou de evaluare (job #3314771)
| Utilizator | Data | 11 octombrie 2025 09:08:51 | |
|---|---|---|---|
| Problema | Divk | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:5:14: error: expected unqualified-id before numeric constant
5 | #define NMAX 500000
| ^~~~~~
main.cpp:13:11: note: in expansion of macro 'NMAX'
13 | const int NMAX = 500000;
| ^~~~
main.cpp:6:14: error: expected unqualified-id before numeric constant
6 | #define KMAX 100000
| ^~~~~~
main.cpp:14:11: note: in expansion of macro 'KMAX'
14 | const int KMAX = 100000;
| ^~~~
cc1plus: error: '::main' must return 'int'
main.cpp: In function 'int main()':
main.cpp:32:37: error: expected ';' before '}' token
32 | sp[i] = (sp[i-1] + v[i]) % k
| ^
| ;
33 | }
| ~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
