Borderou de evaluare (job #821040)

Utilizator avatar miscento Tudor Paltanea miscento IP ascuns
Problemă Cmmdc (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 20 apr. 2025 10:36:54 Scor 31

Raport evaluator

Compilare: main.c: In function 'main': main.c:27:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 27 | fscanf(fin, "%I64d%I64d", &a, &b); | ~~~~^ ~~ | | | | int * long long int * | %I64lld main.c:27:31: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 27 | fscanf(fin, "%I64d%I64d", &a, &b); | ~~~~^ ~~ | | | | int * long long int * | %I64lld main.c:35:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 35 | fscanf(fin, "%I64d", &b); | ~~~~^ ~~ | | | | | long long int * | int * | %I64lld main.c:37:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 37 | fprintf(fout, "%I64d\n", a); | ~~~~^ ~ | | | | int long long int | %I64lld main.c:42:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 42 | fscanf(fin, "%I64d", &num[i]); | ~~~~^ ~~~~~~~ | | | | | long long int * | int * | %I64lld main.c:138:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 138 | fprintf(fout, "%I64d\n", max); | ~~~~^ ~~~ | | | | int long long int | %I64lld main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d\n%d\n", &c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%I64d%I64d", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:35:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin, "%I64d", &b); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:42:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf(fin, "%I64d", &num[i]);
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb incorect 0
2 1 ms 245 kb incorect 0
3 19 ms 245 kb incorect 0
4 199 ms 245 kb incorect 0
5 219 ms 249 kb incorect 0
6 19 ms 249 kb incorect 0
7 9 ms 249 kb incorect 0
8 159 ms 270 kb incorect 0
9 359 ms 249 kb incorect 0
10 1 ms 245 kb OK 7
11 2 ms 249 kb OK 7
12 9 ms 249 kb incorect 0
13 19 ms 249 kb OK 7
14 129 ms 1552 kb incorect 0
15 379 ms 2625 kb incorect 0
16 2 ms 507 kb OK 2
17 2 ms 249 kb OK 2
18 1 ms 249 kb OK 2
19 1 ms 249 kb incorect 0
20 9 ms 245 kb incorect 0
21 9 ms 245 kb incorect 0
22 109 ms 249 kb OK 2
23 179 ms 245 kb OK 2
24 149 ms 249 kb incorect 0
25 209 ms 245 kb incorect 0
26 269 ms 249 kb incorect 0
Punctaj total 31