Borderou de evaluare (job #822845)

Utilizator avatar DragonulCosmic Nerdvana 5 Calin Dragos Andrei DragonulCosmic IP ascuns
Problemă Îngerași (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 7 mai 2025 20:47:57 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf (fin, "%d%d", &n, &prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf (fin, "%d", &inger); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:24:5: /usr/include/bits/stdio2.h:111:10: warning: 'h' 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:6:31: note: 'h' was declared here 6 | int n, inger, i, r, prev, h, cinger; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 241 kb Incorect 0
3 1 ms 245 kb OK 10
4 1 ms 266 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 266 kb OK 10
10 1 ms 245 kb Incorect 0
Punctaj total 80