Borderou de evaluare (job #782316)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Numere 3 (clasa 5-6) Compilator c-32
Rundă Nerdvana SummerCamps - Ed2 - 3 Status evaluat
Dată 12 iul. 2024 10:08:22 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:29:14: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] 29 | nr[q]=mn; | ~~~~~^~~ main.c:6:38: note: 'q' was declared here 6 | int n, i, k, ck, nrc, mx, mn, s, q, nrf, j; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 507 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100