Borderou de evaluare (job #639177)

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:56:42 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:85:17: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] 85 | fscanf(in,"%d%d%d",&n,&m,&k); | ~^ ~~ | | | | int* short int* | %hd main.cpp:85:21: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=] 85 | fscanf(in,"%d%d%d",&n,&m,&k); | ~^ ~~ | | | | int* short int* | %hd main.cpp:88:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] 88 | fscanf(in,"%d%d%d",&x,&y,&c); | ~^ ~~ | | | | int* short int* | %hd main.cpp:88:23: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] 88 | fscanf(in,"%d%d%d",&x,&y,&c); | ~^ ~~ | | | | int* short int* | %hd 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,"%d%d%d",&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,"%d%d%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]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb Incorect 0
2 1 ms 372 kb Incorect 0
3 1 ms 380 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 91 ms 380 kb Killed by Signal 11 0
6 30 ms 638 kb Incorect 0
7 33 ms 1036 kb Incorect 0
8 74 ms 507 kb Killed by Signal 11 0
9 102 ms 507 kb Killed by Signal 11 0
10 104 ms 507 kb Killed by Signal 11 0
Punctaj total 0