Borderou de evaluare (job #758414)

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:25:17 Scor 43

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:23: warning: unused variable 'x' [-Wunused-variable] 14 | int n,c,div = 1,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 = 1,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 507 kb OK 4
3 69 ms 512 kb OK 4
4 9 ms 245 kb OK 4
5 58 ms 512 kb OK 4
6 10 ms 249 kb OK 4
7 9 ms 249 kb a) incorect; b) incorect 0
8 1 ms 245 kb a) OK; b) incorect 3
9 19 ms 512 kb a) OK; b) incorect 3
10 1 ms 249 kb a) incorect; b) incorect 0
11 29 ms 507 kb a) OK; b) incorect 2
12 2 ms 245 kb a) OK; b) incorect 3
13 66 ms 507 kb a) incorect; b) incorect 0
14 52 ms 507 kb a) incorect; b) incorect 0
15 86 ms 507 kb a) incorect; b) incorect 0
16 88 ms 507 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 2 ms 245 kb a) incorect; b) incorect 0
21 1 ms 245 kb a) incorect; b) incorect 0
Punctaj total 43