Borderou de evaluare (job #799034)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Latin1 (baraj gimnaziu) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 6 dec. 2024 08:49:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:111:7: error: 'class InParser' has no member named 'close'
111 | f.close ();
| ^~~~~
main.cpp:76:15: warning: unused variable 'v' [-Wunused-variable]
76 | int n,x,y,v,z,nr,l,x1,y1,stop;
| ^
main.cpp:76:17: warning: unused variable 'z' [-Wunused-variable]
76 | int n,x,y,v,z,nr,l,x1,y1,stop;
| ^
main.cpp:76:30: warning: unused variable 'stop' [-Wunused-variable]
76 | int n,x,y,v,z,nr,l,x1,y1,stop;
| ^~~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:13:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fread(buff, 1, 4096, fin);
| ~~~~~^~~~~~~~~~~~~~~~~~~~