Borderou de evaluare (job #696789)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Schi (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 feb. 2023 11:38:23 Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, int*)': main.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | scanf("%d", &v[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp: In function 'void build_time(int, int, int*)': main.cpp:29:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | scanf("%d", &x); | ~~~~~^~~~~~~~~~ main.cpp: In function 'void build_time_fast(int, int, int*, pair*)': main.cpp:68:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | scanf("%d", &x); | ~~~~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:91:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | freopen("schi.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:92:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | freopen("schi.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:95:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:101:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | scanf("%d", &k); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 2 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 110 kb OK 5
8 1 ms 114 kb OK 5
9 64 ms 507 kb OK 5
10 172 ms 606 kb OK 5
11 164 ms 618 kb OK 5
12 151 ms 536 kb OK 5
13 184 ms 487 kb OK 5
14 166 ms 577 kb OK 5
15 505 ms 1298 kb Time limit exceeded 0
16 507 ms 1290 kb Time limit exceeded 0
17 507 ms 1032 kb Time limit exceeded 0
18 501 ms 1159 kb Time limit exceeded 0
19 506 ms 581 kb Time limit exceeded 0
20 508 ms 618 kb Time limit exceeded 0
Punctaj total 70