Borderou de evaluare (job #598199)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Chibrituri (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 mai 2021 13:56:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:21: error: 'p10' was not declared in this scope
18 | o+=y[h/p10%10];
| ^~~
main.cpp:23:15: error: 'nrtot' was not declared in this scope
23 | nrtot++;
| ^~~~~
main.cpp:11:12: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d%d",&n,&m);
| ~~~~~~^~~~~~~~~~~~~~~~~~