Borderou de evaluare (job #582650)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Costume | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 feb. 2021 19:55:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:114:21: error: expected ';' before '}' token
114 | insert_minim
| ^
| ;
115 | }
| ~
main.cpp:114:9: warning: statement is a reference, not call, to function 'insert_minim' [-Waddress]
114 | insert_minim
| ^~~~~~~~~~~~
main.cpp:114:9: warning: statement has no effect [-Wunused-value]
main.cpp:100:32: warning: unused variable 'val' [-Wunused-variable]
100 | int n, i, nminim, nmaxim, x, val;
| ^~~
main.cpp:103:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
103 | fscanf(fin, "%d%d", &n, &x);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:110:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
110 | fscanf(fin, "%d", &x);
| ~~~~~~^~~~~~~~~~~~~~~