Borderou de evaluare (job #808817)

Utilizator avatar ptrmp Petru Marin-Perianu ptrmp IP ascuns
Problemă Cifra1 (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 11 feb. 2025 12:41:50 Scor 40

Raport evaluator

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