Borderou de evaluare (job #802818)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Portofel (clasa a 5-a) Compilator c-32
Rundă Tema 22 Clasa a 6-a Status evaluat
Dată 8 ian. 2025 13:12:55 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:38:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 38 | while(j<n&&premiu[j]<=portofel[i]) | ^~~~~ main.c:40:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 40 | ins++; | ^~~ main.c:11:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&m); | ^~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d",&portofel[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin,"%d",&premiu[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 4 ms 229 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 507 kb OK 5
8 5 ms 401 kb OK 5
9 99 ms 1036 kb OK 5
10 79 ms 1032 kb OK 5
11 4 ms 475 kb OK 5
12 2 ms 245 kb OK 5
13 1 ms 241 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 2 ms 245 kb OK 5
18 1 ms 245 kb OK 5
19 1 ms 245 kb OK 5
20 89 ms 1294 kb OK 5
Punctaj total 100