Borderou de evaluare (job #617804)

Utilizator avatar The1Ring Cornel Bondarenco The1Ring IP ascuns
Problemă Căutare binară Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 24 nov. 2021 13:45:37 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:33:41: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 33 | else {printf("%ld",-1);printf("\n"); } | ~~^ ~~ | | | | | int | long int | %d main.c:5:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 5 | freopen("cautbin.in", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:6:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 6 | freopen("cautbin.out", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | scanf("%ld",&n); | ^~~~~~~~~~~~~~~ main.c:10:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%ld",&arr[i]); | ^~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | scanf("%ld",&m); | ^~~~~~~~~~~~~~~ main.c:14:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | scanf("%ld",&caz); | ^~~~~~~~~~~~~~~~~ main.c:15:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | scanf("%ld",&x); | ^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 81 ms 262 kb Incorect 0
6 253 ms 393 kb Time limit exceeded 0
7 259 ms 655 kb Time limit exceeded 0
8 254 ms 651 kb Time limit exceeded 0
9 255 ms 655 kb Time limit exceeded 0
10 257 ms 651 kb Time limit exceeded 0
Punctaj total 0