Borderou de evaluare (job #800581)

Utilizator avatar MirceaDiaconu Diaconu Mircea Alexandru MirceaDiaconu IP ascuns
Problemă Ecuatie2 (clasa a 6-a) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 22 dec. 2024 12:45:47 Scor 95

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:15:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:20:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:22:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:27:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:29:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:34:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:36:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:50:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:57:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:64:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:71:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:74:9: /usr/include/bits/stdio2.h:111:10: warning: 's' 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:7:19: note: 's' was declared here 7 | int a, b, ce, s; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 507 kb OK 5
3 2 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 2 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb OK 5
9 1 ms 507 kb OK 5
10 1 ms 245 kb OK 5
11 1 ms 245 kb OK 5
12 1 ms 245 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 1 ms 245 kb a) linie incorecta; b) linie incorecta 0
18 4 ms 245 kb OK 5
19 1 ms 245 kb OK 5
20 2 ms 245 kb OK 5
Punctaj total 95