Borderou de evaluare (job #736707)

Utilizator avatar AlexStoican Alexandru Andrei Stoican AlexStoican IP ascuns
Problemă Problema la fel de grea cu Bixi Compilator c-32
Rundă Tema 3 clasa a 8-a optionala Status evaluat
Dată 8 oct. 2023 00:00:34 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(in, "%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(in, "%d", &v[j]); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:34:22: warning: 'imaxx' may be used uninitialized [-Wmaybe-uninitialized] 34 | suma = suma+v[i]; | ~^~~ main.c:8:29: note: 'imaxx' was declared here 8 | int n, k, maxx=-100001, imaxx, i=1, j; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb Incorect 0
5 1 ms 249 kb Incorect 0
6 9 ms 249 kb Incorect 0
7 19 ms 249 kb Incorect 0
8 39 ms 512 kb Incorect 0
9 39 ms 512 kb Incorect 0
10 49 ms 512 kb Incorect 0
Punctaj total 30