Borderou de evaluare (job #607031)

Utilizator avatar mexeea Medeea Mincu mexeea IP ascuns
Problemă Puteri2 (clasa a 8-a) Compilator c-32
Rundă Tema 2 clasa a 6-a Status evaluat
Dată 21 sept. 2021 21:42:18 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:42:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 42 | fprintf(fout, "%d", suma); | ~^ ~~~~ | | | | int long long int | %lld main.c:9:12: warning: unused variable 'a' [-Wunused-variable] 9 | int n ,a, b, i; | ^ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d", &av[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~
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 10 ms 262 kb Incorect 0
6 12 ms 262 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 8 ms 131 kb Incorect 0
9 15 ms 131 kb Incorect 0
10 9 ms 131 kb Incorect 0
Penalizare: 6% (pentru 2 submisie/ii) 6%
Punctaj total 0