Borderou de evaluare (job #2641080)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 9 august 2020 21:32:51
Problema Car Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int dijkstra(int, int)': main.cpp:59:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < G[x][d1].size() ; i ++) ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:88:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] scanf("%d" , &a[i][j]); ^ main.cpp:80:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("car.in" , "r" , stdin); ^ main.cpp:81:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("car.out" , "w" , stdout); ^ main.cpp:83:60: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d" , &n , &m , &xs , &ys , &xf , &yf); ^ main.cpp:88:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms655kbOk!10
27ms655kbOk!10
39ms786kbKilled by Signal 110
47ms655kbKilled by Signal 110
523ms786kbKilled by Signal 110
648ms786kbKilled by Signal 110
746ms786kbKilled by Signal 110
844ms786kbKilled by Signal 110
951ms786kbKilled by Signal 110
1052ms786kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?