Borderou de evaluare (job #2445629)

Utilizator CharacterMeCharacter Me CharacterMe Data 4 august 2019 22:20:11
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void read()': main.cpp:29:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("concurs.in", "r", stdin); ^ main.cpp:30:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:31:45: 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", &val[i]); ^ main.cpp:34: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:40: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: In function 'void write()': main.cpp:57:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("concurs.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms917kbOK10
24ms917kbKilled by Signal 110
35ms1048kbKilled by Signal 110
48ms1441kbKilled by Signal 110
58ms1441kbKilled by Signal 110
627ms2617kbKilled by Signal 110
7275ms10989kbKilled by Signal 110
843ms4325kbKilled by Signal 110
9204ms8241kbKilled by Signal 110
10322ms9740kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?