Borderou de evaluare (job #859447)

Utilizator avatar vector cozma victor sebastian vector IP ascuns
Problemă GFact (clasa a 9-a) Compilator c
Rundă Tema 17 Clasa a 6-a Status evaluat
Dată 23 apr. 2026 18:22:22 Scor 15

Raport evaluator

Compilare: main.c: In function 'main': main.c:29:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=] 29 | fprintf(fout, "%d", out); | ~^ ~~~ | | | | int long long unsigned int | %lld main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%lld%lld", &n, &e); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:29:5: /usr/include/bits/stdio2.h:111:10: warning: 'out' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:8:43: note: 'out' was declared here 8 | unsigned long long n, e, st, dr, mij, out, p, put; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb Incorect 0
2 0 ms 292 kb Incorect 0
3 0 ms 292 kb Incorect 0
4 1 ms 508 kb OK 5
5 0 ms 292 kb Incorect 0
6 1 ms 508 kb Incorect 0
7 1 ms 508 kb Incorect 0
8 0 ms 292 kb Incorect 0
9 1 ms 508 kb Incorect 0
10 0 ms 508 kb Incorect 0
11 0 ms 292 kb Incorect 0
12 0 ms 508 kb OK 5
13 0 ms 292 kb OK 5
14 0 ms 292 kb Incorect 0
15 0 ms 508 kb Incorect 0
16 0 ms 292 kb Incorect 0
17 0 ms 292 kb Incorect 0
18 1 ms 508 kb Incorect 0
19 1 ms 508 kb Incorect 0
20 0 ms 292 kb Incorect 0
Punctaj total 15