Borderou de evaluare (job #2632973)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 5 iulie 2020 22:06:08
Problema Atac2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dijkstra1(short int)': main.cpp:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < G[u].size() ; i ++) ~~^~~~~~~~~~~~~ main.cpp:50:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < G[dest].size() ; i ++) ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'short int dijkstra2()': main.cpp:75:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < T[u].size() ; i ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:139:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 1 ; i <= G[dest].size() ; i ++) ~~^~~~~~~~~~~~~~~~~ main.cpp:113:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("atac2.in" , "r" , stdin); ^ main.cpp:114:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("atac2.out" , "w" , stdout); ^ main.cpp:117:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%d%hd%hd" , &n , &m , &k , &dest); ^ main.cpp:119:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd" , &v[i]); ^ main.cpp:122:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd" , &x , &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms393kbOK5
23ms393kbOK5
33ms393kbOK5
44ms393kbOK5
54ms393kbOK5
65ms393kbOK5
75ms393kbOK5
87ms393kbOK5
98ms393kbOK5
1013ms524kbOK5
1167ms1048kbOK5
12100ms1310kbOK5
134ms393kbOK5
1410ms393kbOK5
1530ms655kbOK5
1649ms655kbOK5
17110ms917kbOK5
18133ms917kbOK5
19176ms1179kbOK5
20318ms1413kbOK5
Punctaj total100

Ceva nu functioneaza?