Borderou de evaluare (job #800561)

Utilizator avatar Gavriliu.Adam Adam Gavriliu Robert Gavriliu.Adam IP ascuns
Problemă Ecuatie2 (clasa a 6-a) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 22 dec. 2024 10:39:54 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:23:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:28:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:30:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:35:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:37:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:42:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:44:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:55:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:60:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:65:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:70:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:14:25: warning: 'c' is used uninitialized [-Wuninitialized] 14 | while(c != '+' && c != '-' && c != ':'&& c != '*' ){ | ~~^~~~~~ main.c:9:10: note: 'c' was declared here 9 | char c; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 507 kb OK 5
5 2 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb OK 5
9 2 ms 245 kb OK 5
10 2 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 2 ms 507 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 507 kb OK 5
17 1 ms 507 kb OK 5
18 1 ms 245 kb OK 5
19 1 ms 245 kb OK 5
20 1 ms 245 kb OK 5
Punctaj total 100