Borderou de evaluare (job #709266)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Tablou2 (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 mar. 2023 11:46:14 Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int cnt_negativ(int, int, int (*)[1010])': main.cpp:15:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | scanf("%c", &newline); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:23:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | scanf("%c%d%c", &x,&nr,&newlinee); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:57:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | freopen("tablou2.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:58:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | freopen("tablou2.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:61:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | scanf("%d", &p); | ~~~~~^~~~~~~~~~ main.cpp:64:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | scanf("%d%d", &n,&k); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 109 ms 512 kb Time limit exceeded 0
3 1 ms 245 kb Incorect 0
4 19 ms 4182 kb Memory limit exceeded 0
5 109 ms 2342 kb Time limit exceeded 0
6 9 ms 4177 kb Memory limit exceeded 0
7 9 ms 3395 kb Killed by Signal 11 0
8 45 ms 4177 kb Memory limit exceeded 0
9 39 ms 4182 kb Memory limit exceeded 0
10 29 ms 3919 kb Killed by Signal 11 0
11 1 ms 249 kb Incorect 0
12 1 ms 512 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 2 ms 2342 kb Incorect 0
15 9 ms 3129 kb Killed by Signal 11 0
16 19 ms 3915 kb Killed by Signal 11 0
17 29 ms 4182 kb Memory limit exceeded 0
18 29 ms 3915 kb Killed by Signal 11 0
19 29 ms 3915 kb Killed by Signal 11 0
20 29 ms 3919 kb Killed by Signal 11 0
Punctaj total 5