Borderou de evaluare (job #709320)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Pyk (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 mar. 2023 13:40:39 Scor 15

Raport evaluator

Compilare: main.cpp: In function 'int is_valid(int)': main.cpp:21:8: warning: unused variable 'm' [-Wunused-variable] 21 | int m = 0; | ^ main.cpp: In function 'void read_vector(int, int*)': main.cpp:9:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | scanf("%d", &v[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:79:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | freopen("pyk.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:80:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | freopen("pyk.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:83:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | scanf("%d", &p); | ~~~~~^~~~~~~~~~ main.cpp:86:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | scanf("%d%d", &k,&n); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 1
2 309 ms 249 kb Time limit exceeded 0
3 1 ms 245 kb OK 1
4 309 ms 245 kb Time limit exceeded 0
5 1 ms 245 kb OK 1
6 305 ms 249 kb Time limit exceeded 0
7 1 ms 245 kb OK 1
8 309 ms 249 kb Time limit exceeded 0
9 1 ms 245 kb OK 1
10 1 ms 241 kb Incorect 0
11 29 ms 507 kb OK 1
12 309 ms 249 kb Time limit exceeded 0
13 9 ms 245 kb OK 1
14 309 ms 249 kb Time limit exceeded 0
15 9 ms 249 kb OK 1
16 309 ms 249 kb Time limit exceeded 0
17 9 ms 249 kb OK 1
18 309 ms 245 kb Time limit exceeded 0
19 9 ms 249 kb OK 1
20 307 ms 249 kb Time limit exceeded 0
21 309 ms 249 kb Time limit exceeded 0
22 9 ms 249 kb Incorect 0
23 309 ms 249 kb Time limit exceeded 0
24 9 ms 249 kb Incorect 0
25 9 ms 249 kb Incorect 0
26 19 ms 245 kb Incorect 0
27 308 ms 249 kb Time limit exceeded 0
28 29 ms 507 kb OK 5
29 309 ms 512 kb Time limit exceeded 0
30 29 ms 503 kb Incorect 0
31 309 ms 507 kb Time limit exceeded 0
Punctaj total 15