Borderou de evaluare (job #742484)

Utilizator avatar Stefanu Stefan Ungureanu Stefanu IP ascuns
Problemă Subsecvență crescătoare (clasa a 5-a) Compilator c-32
Rundă Tema 13 clasa a 5-a Status evaluat
Dată 4 nov. 2023 14:28:42 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for( i = 2 ; i<=n ; i++) | ^~~ main.c:15:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | if(a<=b) | ^~ main.c:17:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 17 | else | ^~~~ main.c:21:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 21 | fclose(fin); | ^~~~~~ main.c:9:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:10:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf( fin, "\n%d", &a ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf( fin, "%d", &b ); | ^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 2 ms 245 kb Incorect 0
3 2 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb OK 10
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 10