Borderou de evaluare (job #2619511)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 27 mai 2020 20:30:40
Problema Patrol Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int get_id(int, int)': main.cpp:38:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0 ; j < G[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'void timetable2(int, int, int)': main.cpp:59:13: warning: statement has no effect [-Wunused-value] for(poz ; poz < base ; poz = poz + 2 * l) ^ main.cpp: In function 'int main()': main.cpp:109:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[x].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int get_id(int, int)': main.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:64:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("patrol.in" , "r" , stdin); ^ main.cpp:65:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("patrol.out" , "w" , stdout); ^ main.cpp:67:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d" , &n , &m , &p); ^ main.cpp:69:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &c[i]); ^ main.cpp:72:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &x , &y); ^ main.cpp:78:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &l); ^ main.cpp:82:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms262kbOK10
43ms262kbOK10
53ms393kbOK10
66ms917kbOK10
714ms2490kbOK10
87ms1048kbOK10
912ms2228kbOK10
1012ms2228kbOK10
Punctaj total100

Ceva nu functioneaza?