Borderou de evaluare (job #2443776)

Utilizator CharacterMeCharacter Me CharacterMe Data 29 iulie 2019 14:28:08
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:18: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:19: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:20: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:21: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:24: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:30:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &route[i]); ^ main.cpp:33: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
14ms262kbOK10
210ms262kbOK10
3226ms2740kbOK10
4266ms3133kbOK10
5312ms3133kbOK10
6501ms4440kbTime limit exceeded0
7500ms13479kbTime limit exceeded0
8503ms13479kbTime limit exceeded0
9503ms22786kbTime limit exceeded0
10500ms14401kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?