Borderou de evaluare (job #699978)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Secvp (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 mar. 2023 19:43:25 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, int*)': main.cpp:10:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%d", &v[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:122:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | freopen("secvp.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:123:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | freopen("secvp.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:126:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | scanf("%d%d", &n,&k); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 9 ms 245 kb OK 10
4 359 ms 249 kb OK 10
5 506 ms 507 kb Time limit exceeded 0
6 509 ms 507 kb Time limit exceeded 0
7 509 ms 503 kb Time limit exceeded 0
8 509 ms 507 kb Time limit exceeded 0
9 509 ms 507 kb Time limit exceeded 0
10 509 ms 512 kb Time limit exceeded 0
Punctaj total 40