Borderou de evaluare (job #783822)

Utilizator avatar andrei_sevescu sevescu andrei andrei_sevescu IP ascuns
Problemă Cyber (clasa 5-6) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 aug. 2024 09:53:21 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:35:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin, "%d%d", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:55:6: warning: 'possible' may be used uninitialized [-Wmaybe-uninitialized] 55 | if (min < ans) | ^ main.c:10:45: note: 'possible' was declared here 10 | int n, a, b, c, max, min, mid, r, ans, d, possible; | ^~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 507 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 507 kb OK 10
5 1 ms 266 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 2 ms 245 kb OK 10
9 2 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100