Borderou de evaluare (job #681256)

Utilizator avatar Radu_Tanase Tanase Radu Mihai Radu_Tanase 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:55:10 Scor 0

Raport evaluator

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