Borderou de evaluare (job #2532517)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 27 ianuarie 2020 21:58:31
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int dijkstra(int)': main.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[x].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp:18:25: warning: unused variable 'timp' [-Wunused-variable] int i , j , x , y , timp , w , new_w , wmin; ^~~~ main.cpp: In function 'int main()': main.cpp:75:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.in" , "r" , stdin); ^ main.cpp:76:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.out" , "w" , stdout); ^ main.cpp:78:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &n , &k); ^ main.cpp:80:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &type[i]); ^ main.cpp:81:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &m); ^ main.cpp:84:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d" , &x , &y , &z , &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms393kbOK10
224ms524kbOK10
33ms393kbOK10
458ms393kbOK10
568ms393kbOK10
688ms524kbOK10
782ms393kbOK10
84ms393kbOK10
92ms131kbOK10
1011ms393kbOK10
Punctaj total100

Ceva nu functioneaza?