Borderou de evaluare (job #2532489)

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

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
15ms397kbOK10
270ms655kbOK10
34ms393kbOK10
4101ms655kbTime limit exceeded0
5100ms917kbTime limit exceeded0
6100ms921kbTime limit exceeded0
7103ms917kbTime limit exceeded0
85ms393kbOK10
92ms131kbOK10
10101ms393kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?