Borderou de evaluare (job #696843)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Cursuri (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 feb. 2023 12:27:53 Scor 44

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, curs*)': main.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | scanf("%d%d", &v[i].start, &v[i].stop); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:85:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | freopen("cursuri.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:86:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | freopen("cursuri.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:89:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | scanf("%d", &c); | ~~~~~^~~~~~~~~~ main.cpp:92:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | scanf("%d%d", &n, &k); | ~~~~~^~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb OK 4
2 1 ms 118 kb OK 4
3 1 ms 118 kb OK 4
4 1 ms 114 kb OK 4
5 1 ms 118 kb OK 4
6 1 ms 118 kb OK 4
7 1 ms 118 kb OK 4
8 1 ms 114 kb OK 4
9 7 ms 118 kb OK 4
10 7 ms 110 kb Incorect 0
11 1 ms 118 kb Incorect 0
12 1 ms 118 kb Incorect 0
13 1 ms 118 kb OK 4
14 206 ms 118 kb Time limit exceeded 0
15 202 ms 118 kb Time limit exceeded 0
16 208 ms 118 kb Time limit exceeded 0
17 203 ms 118 kb Time limit exceeded 0
18 209 ms 118 kb Time limit exceeded 0
19 204 ms 118 kb Time limit exceeded 0
20 205 ms 118 kb Time limit exceeded 0
21 208 ms 114 kb Time limit exceeded 0
22 200 ms 118 kb Time limit exceeded 0
23 204 ms 118 kb Time limit exceeded 0
24 204 ms 118 kb Time limit exceeded 0
25 1 ms 118 kb OK 4
Punctaj total 44