Borderou de evaluare (job #747032)

Utilizator avatar Vicentiu12345 Savu vicentiu dorian Vicentiu12345 IP ascuns
Problemă Îngerași (clasa a 5-a) Compilator c-32
Rundă Concurs 02 | IQ Academy | clasa a 5-a, seara Status evaluat
Dată 24 nov. 2023 10:24:15 Scor 30

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 ", aux); | ~^ ~~~ | | | | 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 OK 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb OK 10
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 Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb OK 10
Punctaj total 30