Borderou de evaluare (job #816159)

Utilizator avatar coldsh_1 Marcovici Andrei coldsh_1 IP ascuns
Problemă Prâslea ( clasa a 6-a ) Compilator c-32
Rundă Tema 37 Clasa a 6-a Status evaluat
Dată 25 mar. 2025 20:37:09 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:44:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 44 | fprintf(fout, "%lld\n", lmax); | ~~~^ ~~~~ | | | | | int | long long int | %d main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%lld%lld%lld", &n, &m, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%lld%lld", &p, &l); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:45:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | fscanf(fin, "%lld", &nr); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:58:5: /usr/include/bits/stdio2.h:111:10: warning: 'parcela' 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:47:23: note: 'parcela' was declared here 47 | long long suma=0, parcela; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 9 ms 4444 kb Memory limit exceeded 0
2 9 ms 4202 kb Memory limit exceeded 0
3 19 ms 4177 kb Memory limit exceeded 0
4 9 ms 4182 kb Memory limit exceeded 0
5 9 ms 4177 kb Memory limit exceeded 0
6 9 ms 4182 kb Memory limit exceeded 0
7 19 ms 3653 kb a) linie incorecta; b) OK; 4
8 19 ms 4177 kb Memory limit exceeded 0
9 9 ms 3391 kb a) linie incorecta; b) OK; 4
10 9 ms 4177 kb Memory limit exceeded 0
11 9 ms 3653 kb a) linie incorecta; b) OK; 4
12 19 ms 3653 kb a) linie incorecta; b) OK; 4
13 1 ms 245 kb a) linie incorecta; b) OK; 4
14 1 ms 245 kb a) linie incorecta; b) OK; 4
15 1 ms 245 kb a) linie incorecta; b) OK; 4
16 1 ms 245 kb a) linie incorecta; b) OK; 4
17 1 ms 245 kb a) linie incorecta; b) OK; 4
18 9 ms 4440 kb Memory limit exceeded 0
19 9 ms 4177 kb Memory limit exceeded 0
20 1 ms 245 kb a) linie incorecta; b) OK; 4
Punctaj total 40