Borderou de evaluare (job #732732)

Utilizator avatar fintinastefi Stefania Fintina fintinastefi IP ascuns
Problemă Wind (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 19 sept. 2023 21:40:19 Scor 82

Raport evaluator

Compilare: main.c: In function 'main': main.c:28:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(in, "%d", &command); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:29:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(in, "%d", &N); | ^~~~~~~~~~~~~~~~~~~~ main.c:32:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(in, "%lld", &x); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:35:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(in, "%lld", &x); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:69:9: warning: 'afis' may be used uninitialized [-Wmaybe-uninitialized] 69 | fprintf(out, "%lld %lld", (N / afis), pos_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:40:43: note: 'afis' was declared here 40 | long long minim = 99999999999, pos_f, afis; | ^~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:69:9: /usr/include/bits/stdio2.h:79:10: warning: 'pos_f' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:40:36: note: 'pos_f' was declared here 40 | long long minim = 99999999999, pos_f, afis; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p) 10
2 59 ms 765 kb OK 4
3 59 ms 1036 kb OK 4
4 9 ms 245 kb OK 4
5 59 ms 1036 kb OK 4
6 1 ms 249 kb OK 4
7 9 ms 249 kb OK 5
8 1 ms 245 kb OK 5
9 26 ms 507 kb OK 5
10 1 ms 249 kb a) incorect; b) incorect 0
11 38 ms 1032 kb OK 5
12 1 ms 245 kb OK 5
13 60 ms 905 kb OK 5
14 61 ms 1028 kb OK 5
15 59 ms 770 kb a) incorect; b) incorect 0
16 49 ms 774 kb OK 5
17 1 ms 245 kb OK 4
18 1 ms 241 kb a) incorect; b) OK 2
19 2 ms 245 kb a) incorect; b) OK 2
20 1 ms 245 kb a) incorect; b) incorect 0
21 1 ms 245 kb OK 4
Punctaj total 82