Borderou de evaluare (job #769053)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Cifre8 (clasa a 5-a) Compilator c-32
Rundă Tema 31 Clasa a 5-a Status evaluat
Dată 20 mar. 2024 19:29:21 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:42:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 42 | fprintf( fout, "%d", cnt2); | ~^ ~~~~ | | | | int long long int | %lld main.c:50:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 50 | fprintf( fout, "%d", cnt5); | ~^ ~~~~ | | | | int long long int | %lld main.c:53:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 53 | fprintf( fout, " %d", prod); | ~^ ~~~~ | | | | int long long int | %lld main.c:8:43: warning: unused variable 'diferit0' [-Wunused-variable] 8 | long long n, i, prod, cf, cnt2, cnt5, diferit0, x; | ^~~~~~~~ main.c:8:27: warning: unused variable 'cf' [-Wunused-variable] 8 | long long n, i, prod, cf, cnt2, cnt5, diferit0, x; | ^~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf( fin, "%lld", &n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf( fin, "%lld", &x); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 266 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 266 kb OK 5
8 2 ms 122 kb OK 5
9 1 ms 266 kb OK 5
10 1 ms 245 kb OK 5
11 1 ms 245 kb OK 5
12 1 ms 245 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 266 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 1 ms 245 kb OK 5
18 1 ms 245 kb OK 5
19 1 ms 245 kb OK 5
20 4 ms 245 kb OK 5
Punctaj total 100