Borderou de evaluare (job #2511392)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 18 decembrie 2019 21:42:42
Problema Stramosi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void dfs1(int, int)': main.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'void dfs2(int, int)': main.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp:17:13: warning: unused variable 'v' [-Wunused-variable] int j , v; ^ main.cpp: In function 'int main()': main.cpp:41:39: warning: unused variable 'j' [-Wunused-variable] int n , q , i , x , y , ly , tx , j; ^ main.cpp:39:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("stramosi.in" , "r" , stdin); ^ main.cpp:40:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("stramosi.out" , "w" , stdout); ^ main.cpp:42:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &n , &q); ^ main.cpp:45:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &t[i]); ^ main.cpp:63:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &x , &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
118ms6098kbOK!10
213ms6160kbOK!10
328ms6262kbOK!10
444ms6918kbOK!10
546ms6946kbOK!10
6155ms8851kbOK!10
7131ms8650kbOK!10
8164ms8368kbOK!10
9703ms22282kbTime limit exceeded0
10703ms25632kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?