Borderou de evaluare (job #807667)

Utilizator avatar miscento Tudor Paltanea miscento IP ascuns
Problemă Cmmdc (clasa a 6-a) Compilator c-32
Rundă Tema 25 Clasa a 6-a Status evaluat
Dată 2 feb. 2025 13:04:28 Scor 27

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:38:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 38 | fprintf(fout, "%I64d\n", a); | ~~~~^ ~ | | | | int long long int | %I64lld main.c:43:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 43 | fscanf(fin, "%I64d", &num[i]); | ~~~~^ ~~~~~~~ | | | | | long long int * | int * | %I64lld main.c:139:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 139 | 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:43:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin, "%I64d", &num[i]);
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb incorect 0
2 2 ms 507 kb incorect 0
3 9 ms 249 kb incorect 0
4 89 ms 270 kb incorect 0
5 99 ms 249 kb incorect 0
6 10 ms 118 kb incorect 0
7 9 ms 507 kb incorect 0
8 69 ms 249 kb incorect 0
9 178 ms 245 kb incorect 0
10 1 ms 245 kb OK 7
11 1 ms 249 kb OK 7
12 9 ms 249 kb incorect 0
13 19 ms 245 kb OK 7
14 129 ms 1556 kb incorect 0
15 349 ms 2347 kb incorect 0
16 3 ms 122 kb OK 2
17 2 ms 512 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 1 ms 249 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 512 kb incorect 0
26 269 ms 249 kb incorect 0
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 27