Borderou de evaluare (job #2443772)

Utilizator CharacterMeCharacter Me CharacterMe Data 29 iulie 2019 14:19:02
Problema Patrol Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("patrol.in", "r", stdin); ^ main.cpp:20:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("patrol.out", "w", stdout); ^ main.cpp:21:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &p); ^ main.cpp:22:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=1; i<=n; ++i) scanf("%d", &cost[i]); ^ main.cpp:25:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ main.cpp:31:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &route[i]); ^ main.cpp:34:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &l); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbOK10
22ms262kbOK10
35ms524kbOK10
4287ms3133kbOK10
5299ms3133kbOK10
6500ms4313kbTime limit exceeded0
7501ms13660kbTime limit exceeded0
8503ms13479kbTime limit exceeded0
9501ms14401kbTime limit exceeded0
10501ms14401kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?