Borderou de evaluare (job #798775)

Utilizator avatar mcucui2013 Maria Ioana Cucui mcucui2013 IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator c-32
Rundă Concurs 02 | IQ Academy | clasa a 5-a Status evaluat
Dată 3 dec. 2024 18:57:11 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:6:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6 | fscanf(fin,"%d%d%d", &n,&x,&y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d%d%d ", &a,&b,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:31:3: /usr/include/bits/stdio2.h:111:10: warning: 'mc' 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:5:19: note: 'mc' was declared here 5 | int a, b, c, m, mc, t, box, timbox, i, n, y, x; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 9 ms 512 kb Incorect 0
3 799 ms 249 kb Incorect 0
4 789 ms 249 kb Incorect 0
5 959 ms 512 kb Time limit exceeded 0
6 959 ms 249 kb Time limit exceeded 0
7 959 ms 270 kb Time limit exceeded 0
8 959 ms 249 kb Time limit exceeded 0
9 957 ms 270 kb Time limit exceeded 0
10 959 ms 512 kb Time limit exceeded 0
Punctaj total 10