Borderou de evaluare (job #2795368)
Utilizator | Data | 6 noiembrie 2021 11:55:01 | |
---|---|---|---|
Problema | Lant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool verif(char*)':
main.cpp:50:20: error: 'nr' was not declared in this scope; did you mean 'n'?
50 | for(int i=1;i<=nr;i++)
| ^~
| n
main.cpp:51:21: error: 'a' was not declared in this scope
51 | {int x=strcmp(p,a[i]);
| ^
main.cpp:51:10: warning: unused variable 'x' [-Wunused-variable]
51 | {int x=strcmp(p,a[i]);
| ^
main.cpp:49:10: warning: unused variable 'x' [-Wunused-variable]
49 | char x[1000];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !