Borderou de evaluare (job #2591151)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 29 martie 2020 21:11:16
Problema Negot Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < G[negustor].size() && i < k ; i ++ , nr ++) ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:38:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < T[magazin].size() ; j ++) ~~^~~~~~~~~~~~~~~~~~~ main.cpp:45:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(G[i].size() > 0 && G[i].size() < deg) ~~~~~~~~~~~~^~~~~ main.cpp:10:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("negot.in" , "r" , stdin); ^ main.cpp:11:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("negot.out" , "w" , stdout); ^ main.cpp:13:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd" , &n , &m , &k); ^ main.cpp:17:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd" , &t); ^ main.cpp:20:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd" , &x); ^ main.cpp:12:58: warning: 'negustor' may be used uninitialized in this function [-Wmaybe-uninitialized] short int n , m , k , t , i , j , x , nr , magazin , negustor , deg , gasit , cnt; ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK510
22ms131kbOK5
32ms131kbOK510
42ms131kbOK5
511ms262kbKilled by Signal 1100
68ms262kbKilled by Signal 110
76ms393kbKilled by Signal 110
89ms262kbKilled by Signal 110
911ms262kbOK50
107ms262kbOK5
113ms131kbOK5
1211ms393kbKilled by Signal 110
135ms262kbOK5
145ms262kbKilled by Signal 110
152ms131kbKilled by Signal 1100
162ms131kbKilled by Signal 110
172ms131kbKilled by Signal 110
182ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?