Borderou de evaluare (job #699963)

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:32:03 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:131:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | freopen("secvp.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:132:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | freopen("secvp.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:135:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | 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 249 kb OK 10
4 469 ms 249 kb OK 10
5 507 ms 249 kb Time limit exceeded 0
6 509 ms 507 kb Time limit exceeded 0
7 506 ms 512 kb Time limit exceeded 0
8 507 ms 507 kb Time limit exceeded 0
9 509 ms 512 kb Time limit exceeded 0
10 509 ms 507 kb Time limit exceeded 0
Punctaj total 40