Borderou de evaluare (job #2641081)

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

Raport evaluator

Compilare: main.cpp: In function 'short int dijkstra(short int, short int)': main.cpp:60: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:89:35: warning: format '%hd' expects argument of type 'short int*', but argument 2 has type 'bool*' [-Wformat=] scanf("%hd" , &a[i][j]); ^ main.cpp:81: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:82: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:84:66: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd%hd%hd%hd" , &n , &m , &xs , &ys , &xf , &yf); ^ main.cpp:89:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd" , &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms524kbOk!10
26ms524kbOk!10
39ms524kbKilled by Signal 110
47ms524kbKilled by Signal 110
529ms655kbKilled by Signal 110
638ms655kbKilled by Signal 110
751ms655kbKilled by Signal 110
835ms655kbKilled by Signal 110
955ms655kbKilled by Signal 110
1065ms655kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?