Borderou de evaluare (job #747007)

Utilizator avatar Vicentiu12345 Savu vicentiu dorian Vicentiu12345 IP ascuns
Problemă Îngerași (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 24 nov. 2023 09:47:55 Scor 20

Raport evaluator

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