Borderou de evaluare (job #2549092)

Utilizator mateicosCostescu Matei mateicos Data 17 februarie 2020 11:57:36
Problema TollRoads Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int solve(int, int)': main.cpp:37:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0;i < g[a.x].size();i++){ ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:50:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tollroads.in", "r", stdin); ^ main.cpp:51:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tollroads.out", "w", stdout); ^ main.cpp:53:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &q); ^ main.cpp:55:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a, &b, &c); ^ main.cpp:60:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
113ms786kbOK10
216ms786kbOK10
33ms393kbKilled by Signal 110
42ms393kbKilled by Signal 110
53ms393kbKilled by Signal 110
62ms393kbKilled by Signal 110
73ms393kbKilled by Signal 110
83ms393kbKilled by Signal 110
92ms393kbKilled by Signal 110
1012ms786kbOK10
Punctaj total30

Ceva nu functioneaza?