Borderou de evaluare (job #681262)

Utilizator avatar Sori zambitchi radu Sori IP ascuns
Problemă Suma cifrelor unui număr (clasa a 7-a) Compilator c-32
Rundă Tema 10 Clasa a 7-a Status evaluat
Dată 11 dec. 2022 13:57:08 Scor 50

Raport evaluator

Compilare: main.c: In function 'suma': main.c:9:16: warning: 'return' with a value, in function returning void [-Wreturn-type] 9 | return s; | ^ main.c:5:6: note: declared here 5 | void suma(long long int x) | ^~~~ main.c: In function 'main': main.c:20:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 20 | fscanf(fin, "%d", &n); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 2 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 110 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 1 ms 114 kb Incorect 0
Punctaj total 50