Borderou de evaluare (job #797633)

Utilizator avatar cerneaandreea Cernea Andreea cerneaandreea IP ascuns
Problemă Cabina (clasa a 5-a) Compilator c-32
Rundă Tema 15 Clasa a 5-a Status evaluat
Dată 24 nov. 2024 19:26:28 Scor 95

Raport evaluator

Compilare: main.c: In function 'main': main.c:32:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 32 | else | ^~~~ main.c:34:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 34 | anterior = a; | ^~~~~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &anterior); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d", &i); | ^~~~~~~~~~~~~~~~~~~~~ main.c:27:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:28:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:39:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:40:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fscanf(fin, "%d", &anterior); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:41:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:42:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf(fin, "%d", &prezent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:43:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin, "%d", &i); | ^~~~~~~~~~~~~~~~~~~~~ main.c:47:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:48:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 10
2 1 ms 245 kb OK 10
3 2 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 2 ms 507 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 95