Borderou de evaluare (job #2600103)
Utilizator | Data | 11 aprilie 2020 22:57:51 | |
---|---|---|---|
Problema | Numere 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:19: error: expected ']' before ';' token
#define nm 1000000;
^
main.cpp:10:8: note: in expansion of macro 'nm'
bool v[nm];
^~
main.cpp:10:10: error: expected unqualified-id before ']' token
bool v[nm];
^
main.cpp: In function 'void citire()':
main.cpp:22:11: error: 'v' was not declared in this scope
v[x]=1;
^
main.cpp: In function 'void rezolvare(int&, int&)':
main.cpp:29:12: error: 'v' was not declared in this scope
if(!v[i])
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !