Borderou de evaluare (job #2443767)

Utilizator CharacterMeCharacter Me CharacterMe Data 29 iulie 2019 14:13:28
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
35ms393kbOK10
4338ms3133kbOK10
5314ms3002kbOK10
6502ms4304kbTime limit exceeded0
7500ms13479kbTime limit exceeded0
8500ms13348kbTime limit exceeded0
9502ms14270kbTime limit exceeded0
10502ms14245kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?