Borderou de evaluare (job #696761)

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 10:50:59 Scor 45

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, int*)': main.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%d", &v[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp: In function 'void build_time(int, int, int*, int*)': main.cpp:21:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | scanf("%d", &x); | ~~~~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:36:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | freopen("schi.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:37:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | freopen("schi.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:40:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:46:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | 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 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 118 kb OK 5
8 1 ms 118 kb OK 5
9 68 ms 512 kb OK 5
10 500 ms 495 kb Time limit exceeded 0
11 509 ms 499 kb Time limit exceeded 0
12 503 ms 499 kb Time limit exceeded 0
13 506 ms 495 kb Time limit exceeded 0
14 501 ms 499 kb Time limit exceeded 0
15 503 ms 503 kb Time limit exceeded 0
16 505 ms 495 kb Time limit exceeded 0
17 501 ms 503 kb Time limit exceeded 0
18 504 ms 507 kb Time limit exceeded 0
19 505 ms 503 kb Time limit exceeded 0
20 501 ms 507 kb Time limit exceeded 0
Punctaj total 45