Borderou de evaluare (job #709294)

Utilizator avatar browlytv@gmail.com Daniel Jacob browlytv@gmail.com IP ascuns
Problemă Gondola (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 18 mar. 2023 12:58:55 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:13: warning: format '%d' expects a matching 'int *' argument [-Wformat=] 11 | scanf("%d%d",&nr); | ~^ | | | int * main.c:6:21: warning: unused variable 'D' [-Wunused-variable] 6 | int n,i,nr,nr1,S,d,D,max; | ^ main.c:6:19: warning: unused variable 'd' [-Wunused-variable] 6 | int n,i,nr,nr1,S,d,D,max; | ^ main.c:7:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | scanf("%d",&n); | ^~~~~~~~~~~~~~ main.c:11:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | scanf("%d%d",&nr); | ^~~~~~~~~~~~~~~~~ main.c:26:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | scanf("%d",&max); | ^~~~~~~~~~~~~~~~ main.c:28:9: warning: 'nr1' is used uninitialized [-Wuninitialized] 28 | if (nr - nr1 > max) | ~~~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 508 ms 249 kb Time limit exceeded 0
2 509 ms 249 kb Time limit exceeded 0
3 509 ms 249 kb Time limit exceeded 0
4 509 ms 249 kb Time limit exceeded 0
5 509 ms 249 kb Time limit exceeded 0
6 509 ms 245 kb Time limit exceeded 0
7 500 ms 249 kb Time limit exceeded 0
8 509 ms 249 kb Time limit exceeded 0
9 509 ms 249 kb Time limit exceeded 0
10 509 ms 249 kb Time limit exceeded 0
Punctaj total 0