Borderou de evaluare (job #852309)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Sumax (clasa a 7-a) Compilator c
Rundă Concurs 04 | IQ Academy | clasa a 7-a | 2025-2026 Status evaluat
Dată 7 feb. 2026 17:25:51 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 14 | fscanf(fin, "%d", &v[i]); | ~^ ~~~~~ | | | | | short int * | int * | %hd main.c:8:15: warning: unused variable 'x' [-Wunused-variable] 8 | int n, k, x, min, sum, i, j, max, p, aux; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb OK 10
2 1 ms 508 kb OK 10
3 1 ms 508 kb OK 10
4 1 ms 508 kb OK 10
5 depășit 768 kb Time limit exceeded. 0
6 depășit 768 kb Time limit exceeded. 0
7 depășit 552 kb Time limit exceeded. 0
8 depășit 768 kb Time limit exceeded. 0
9 depășit 768 kb Time limit exceeded. 0
10 depășit 768 kb Time limit exceeded. 0
Punctaj total 40