Borderou de evaluare (job #790393)

Utilizator avatar vatamanescu_ioana Vatamanescu Ioana vatamanescu_ioana IP ascuns
Problemă Suma cifrelor unui număr (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 18 oct. 2024 22:03:29 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", sumcif(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 245 kb Incorect 0
2 2 ms 266 kb Incorect 0
3 1 ms 270 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 507 kb Incorect 0
6 2 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 2 ms 245 kb Incorect 0
Punctaj total 0