Borderou de evaluare (job #2535466)

Utilizator giotoPopescu Ioan gioto Data 31 ianuarie 2020 21:38:50
Problema Posta2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("posta2.in", "r", stdin); ^ main.cpp:47:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("posta2.out", "w", stdout); ^ main.cpp:49:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:52:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &c); ^ main.cpp:57:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n ; ++i) scanf("%d", &cost[i]); ^ main.cpp:59:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms2621kbOK5
28ms2621kbOK5
38ms2621kbOK5
49ms2621kbOK5
59ms2621kbOK5
69ms2621kbOK5
718ms2883kbOK5
820ms2883kbOK5
938ms3276kbOK5
1042ms3276kbOK5
1195ms4063kbOK5
12162ms4849kbOK5
13203ms5505kbTime limit exceeded0
14200ms6291kbTime limit exceeded0
15203ms8519kbTime limit exceeded0
16200ms8650kbTime limit exceeded0
17203ms9306kbTime limit exceeded0
18200ms9306kbTime limit exceeded0
19200ms9568kbTime limit exceeded0
20203ms9699kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?