Borderou de evaluare (job #2591158)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < G[negustor].size() && i < k ; i ++ , nr ++) ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:39:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < T[magazin].size() ; j ++) ~~^~~~~~~~~~~~~~~~~~~ main.cpp:50: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
13ms1048kbOK510
24ms1048kbOK5
34ms1048kbOK510
44ms1048kbOK5
514ms1179kbIncorect00
612ms1179kbOK5
719ms1179kbIncorect0
810ms1179kbOK5
916ms1179kbOK530
108ms1179kbOK5
115ms1179kbOK5
1213ms1179kbOK5
138ms1179kbOK5
147ms1179kbOK5
154ms1048kbKilled by Signal 1100
164ms1048kbKilled by Signal 110
173ms1048kbKilled by Signal 110
183ms1048kbKilled by Signal 110
193ms1048kbKilled by Signal 110
204ms1048kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?