Borderou de evaluare (job #630058)

Utilizator avatar MAlex2019 Melintioi George Alexandru MAlex2019 IP ascuns
Problemă Tablou2 (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 4 feb. 2022 16:18:11 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 12 | fscanf(fin, "%d%d%d\n", &cer, &n, &k); | ~^ ~~~~ | | | | int * long long int * | %lld main.c:12:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 12 | fscanf(fin, "%d%d%d\n", &cer, &n, &k); | ~^ ~~ | | | | int * long long int * | %lld main.c:12:23: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=] 12 | fscanf(fin, "%d%d%d\n", &cer, &n, &k); | ~^ ~~ | | | | int * long long int * | %lld main.c:18:39: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 18 | fscanf(fin, "%d\n", &x); | ~^ ~~ | | | | int * long long int * | %lld main.c:56:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 56 | fprintf(fout, "%d\n", nrpoz); | ~^ ~~~~~ | | | | int long long int | %lld main.c:60:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 60 | fprintf(fout, "%d\n", l + c); | ~^ ~~~~~ | | | | int long long int | %lld main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d%d\n", &cer, &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d\n", &x); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:60:17: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 60 | fprintf(fout, "%d\n", l + c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:60:17: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 2 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 2 ms 118 kb Incorect 0
9 1 ms 118 kb OK 5
10 1 ms 118 kb OK 5
11 1 ms 114 kb Incorect 0
12 1 ms 114 kb Incorect 0
13 1 ms 114 kb Incorect 0
14 1 ms 110 kb Incorect 0
15 1 ms 114 kb Incorect 0
16 1 ms 114 kb Incorect 0
17 1 ms 114 kb Incorect 0
18 1 ms 118 kb Incorect 0
19 1 ms 118 kb Incorect 0
20 2 ms 118 kb Incorect 0
Punctaj total 10