Borderou de evaluare (job #617236)

Utilizator avatar raduluca16 Luca Radu raduluca16 IP ascuns
Problemă Factor (clasa a 5-a) Compilator c-32
Rundă Concurs clasa a 5-a Status evaluat
Dată 21 nov. 2021 18:33:37 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:39:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 39 | if ( n % 10 == pu ) | ^~ main.c:41:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 41 | nc = nc / 10; | ^~ main.c:46:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int *' [-Wformat=] 46 | fprintf( fout, "%d", &cf ); | ~^ ~~~ | | | | int int * | %n main.c:6:12: warning: variable 'f' set but not used [-Wunused-but-set-variable] 6 | int n, f, nc, cf, p, pc, p2max, p2, p2maxc, i, pu; | ^ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
Punctaj total 0