Borderou de evaluare (job #681275)

Utilizator avatar david_d2 David Alexandru Dimulescu david_d2 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 14:06:46 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:20: 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: In function 'sumac': main.c:12:1: warning: control reaches end of non-void function [-Wreturn-type] 12 | } | ^ main.c: In function 'main': 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 Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 2 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