Borderou de evaluare (job #692044)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Cursuri (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 feb. 2023 21:18:33 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 7 ms 114 kb OK 4
3 7 ms 114 kb OK 4
4 1 ms 118 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 118 kb OK 4
9 2 ms 118 kb OK 4
10 1 ms 118 kb Incorect 0
11 1 ms 118 kb Incorect 0
12 1 ms 114 kb Incorect 0
13 1 ms 118 kb OK 4
14 206 ms 118 kb Time limit exceeded 0
15 205 ms 118 kb Time limit exceeded 0
16 205 ms 114 kb Time limit exceeded 0
17 206 ms 118 kb Time limit exceeded 0
18 205 ms 118 kb Time limit exceeded 0
19 206 ms 118 kb Time limit exceeded 0
20 208 ms 118 kb Time limit exceeded 0
21 203 ms 118 kb Time limit exceeded 0
22 208 ms 118 kb Time limit exceeded 0
23 207 ms 114 kb Time limit exceeded 0
24 205 ms 118 kb Time limit exceeded 0
25 7 ms 118 kb OK 4
Punctaj total 44