Borderou de evaluare (job #747145)

Utilizator avatar RobertSerb hacker ^_^ RobertSerb IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator c-32
Rundă Concurs 02 | IQ Academy | clasa a 5-a, seara Status evaluat
Dată 24 nov. 2023 18:28:57 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | fscanf( fin, "%d%d%d", &n, &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin, "%d%d%d", &a1, &b2, &c3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:22:3: /usr/include/bits/stdio2.h:79:10: warning: 'ci' 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:5:41: note: 'ci' was declared here 5 | int n, x, i, y, a1, b2, c3, poz1 = 0, ci, min = 999999999; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 249 kb OK 10
3 189 ms 249 kb OK 10
4 179 ms 249 kb OK 10
5 401 ms 331 kb OK 10
6 509 ms 249 kb OK 10
7 617 ms 245 kb OK 10
8 619 ms 245 kb OK 10
9 805 ms 335 kb OK 10
10 909 ms 249 kb OK 10
Punctaj total 90