Borderou de evaluare (job #758413)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Wind (clasa a 7-a) Compilator c-32
Rundă Concurs 04 | IQ Academy | clasa a 7-a Status evaluat
Dată 27 ian. 2024 18:23:47 Scor 23

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:23: warning: unused variable 'x' [-Wunused-variable] 14 | int n,c,div = 0,i,x,co = 0,max,mintot,f,j,mintotz; | ^ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d%d",&c,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:65:7: /usr/include/bits/stdio2.h:79:10: warning: 'mintotz' 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:14:47: note: 'mintotz' was declared here 14 | int n,c,div = 0,i,x,co = 0,max,mintot,f,j,mintotz; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p) 10
2 99 ms 503 kb incorect 0
3 67 ms 512 kb incorect 0
4 9 ms 245 kb incorect 0
5 67 ms 503 kb incorect 0
6 1 ms 249 kb incorect 0
7 9 ms 249 kb a) incorect; b) incorect 0
8 1 ms 245 kb a) OK; b) incorect 3
9 28 ms 503 kb a) OK; b) incorect 3
10 9 ms 245 kb a) incorect; b) incorect 0
11 29 ms 512 kb a) OK; b) incorect 2
12 3 ms 245 kb a) OK; b) incorect 3
13 69 ms 507 kb a) incorect; b) incorect 0
14 49 ms 507 kb a) incorect; b) incorect 0
15 88 ms 512 kb a) incorect; b) incorect 0
16 89 ms 503 kb a) incorect; b) incorect 0
17 1 ms 245 kb a) OK; b) incorect 2
18 1 ms 245 kb a) incorect; b) incorect 0
19 1 ms 245 kb a) incorect; b) incorect 0
20 1 ms 245 kb a) incorect; b) incorect 0
21 1 ms 245 kb a) incorect; b) incorect 0
Punctaj total 23