Borderou de evaluare (job #2508788)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 13 decembrie 2019 00:26:42
Problema Rege2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void bfs()': main.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < T[x].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp:23:17: warning: unused variable 'z' [-Wunused-variable] int x , y , z , j; ^ main.cpp: In function 'int solve(int)': main.cpp:59:30: warning: unused variable 'l' [-Wunused-variable] int i , nr , x , y , z , l , aux; ^ main.cpp: In function 'int main()': main.cpp:159:33: warning: unused variable 'k' [-Wunused-variable] int t , x , y , z , i , j , k; ^ main.cpp:157:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rege2.in" , "r" , stdin); ^ main.cpp:158:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rege2.out" , "w" , stdout); ^ main.cpp:160:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &t); ^ main.cpp:163:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &n , &sum); ^ main.cpp:167:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d" , &x , &y , &z); ^ main.cpp: In function 'int bs()': main.cpp:144:19: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized] med = (st + dr) / 2; ~~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
113ms5373kbIncorect0
213ms5373kbIncorect0
313ms5373kbIncorect0
416ms5373kbIncorect0
533ms5545kbIncorect0
642ms5898kbIncorect0
7116ms7340kbIncorect0
8109ms7340kbIncorect0
9104ms7340kbIncorect0
10109ms7733kbIncorect0
Punctaj total0

Ceva nu functioneaza?