Borderou de evaluare (job #698307)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă TV (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 feb. 2023 21:51:05 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, pub*)': main.cpp:23:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | scanf("%d%d%c%d%c%d", &v[i].d, &v[i].h, &v[i].point, &v[i].m, &v[i].p, &v[i].s); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:74:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | freopen("tv.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:75:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | freopen("tv.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:78:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | scanf("%d", &c); | ~~~~~^~~~~~~~~~ main.cpp:81:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | scanf("%d", &n); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 376 kb OK 6
2 1 ms 507 kb OK 6
3 7 ms 503 kb OK 6
4 204 ms 1032 kb Time limit exceeded 0
5 201 ms 1298 kb Time limit exceeded 0
6 202 ms 1425 kb Time limit exceeded 0
7 209 ms 2347 kb Time limit exceeded 0
8 209 ms 2478 kb Time limit exceeded 0
9 204 ms 2605 kb Time limit exceeded 0
10 204 ms 2736 kb Time limit exceeded 0
11 1 ms 372 kb OK 4
12 1 ms 245 kb OK 4
13 1 ms 512 kb OK 4
14 205 ms 1028 kb Time limit exceeded 0
15 206 ms 1290 kb Time limit exceeded 0
16 203 ms 1425 kb Time limit exceeded 0
17 200 ms 2338 kb Time limit exceeded 0
18 202 ms 2478 kb Time limit exceeded 0
19 203 ms 2736 kb Time limit exceeded 0
Punctaj total 30