Borderou de evaluare (job #639180)

Utilizator avatar cezarinfo Tulceanu Cezar cezarinfo IP ascuns
Problemă Zapada (clasele 11 și 12) Compilator cpp-32 | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 7 mar. 2022 19:58:11 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:112:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] 112 | fscanf(in,"%d%d%d",&x,&y,&c); | ~^ ~~ | | | | int* short int* | %hd main.cpp:112:23: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] 112 | fscanf(in,"%d%d%d",&x,&y,&c); | ~^ ~~ | | | | int* short int* | %hd main.cpp:132:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<drumplus>::size_type' {aka 'unsigned int'} [-Wsign-compare] 132 | for(int it=0;it<vec[mmin.tat].size();it++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:139:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<drumplus>::size_type' {aka 'unsigned int'} [-Wsign-compare] 139 | for(int it=0;it<vec[mmin.nod].size();it++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:85:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | fscanf(in,"%hd%d%hd",&n,&m,&k); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:88:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | fscanf(in,"%hd%hd%d",&x,&y,&c); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:112:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 112 | fscanf(in,"%d%d%d",&x,&y,&c); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 241 kb Incorect 0
3 1 ms 380 kb Incorect 0
4 1 ms 376 kb Incorect 0
5 24 ms 512 kb Killed by Signal 11 0
6 30 ms 499 kb Incorect 0
7 28 ms 503 kb Incorect 0
8 30 ms 503 kb Killed by Signal 11 0
9 30 ms 512 kb Killed by Signal 11 0
10 23 ms 507 kb Killed by Signal 11 0
Punctaj total 0