Borderou de evaluare (job #698306)

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:43:15 Scor 18

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:62:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | freopen("tv.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:63:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | freopen("tv.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:66:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | scanf("%d", &c); | ~~~~~^~~~~~~~~~ main.cpp:69:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | scanf("%d", &n); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 372 kb OK 6
2 1 ms 507 kb OK 6
3 1 ms 512 kb OK 6
4 201 ms 1036 kb Time limit exceeded 0
5 205 ms 1298 kb Time limit exceeded 0
6 208 ms 1429 kb Time limit exceeded 0
7 205 ms 2342 kb Time limit exceeded 0
8 206 ms 2478 kb Time limit exceeded 0
9 200 ms 2605 kb Time limit exceeded 0
10 205 ms 2740 kb Time limit exceeded 0
11 1 ms 380 kb Incorect 0
12 1 ms 512 kb Incorect 0
13 1 ms 512 kb Incorect 0
14 203 ms 1036 kb Time limit exceeded 0
15 204 ms 1294 kb Time limit exceeded 0
16 206 ms 1425 kb Time limit exceeded 0
17 204 ms 2347 kb Time limit exceeded 0
18 208 ms 2473 kb Time limit exceeded 0
19 206 ms 2732 kb Time limit exceeded 0
Punctaj total 18