Borderou de evaluare (job #823758)

Utilizator avatar popescu_george Popescu George popescu_george IP ascuns
Problemă Lowest Common Ancestor Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 mai 2025 08:32:21 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:160:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | freopen("lca.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In constructor 'ReadStream::ReadStream(const char*)': main.cpp:32:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fread(buf, maxSize, 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void ReadStream::move()': main.cpp:21:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fread(buf, maxSize, 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 1556 kb OK 10 10
2 1 ms 1576 kb OK 10 10
3 19 ms 3129 kb OK 10 10
4 149 ms 12840 kb OK 10 10
5 209 ms 20221 kb OK 10 10
6 279 ms 20541 kb OK 10 10
7 848 ms 26546 kb OK 10 10
8 1097 ms 21221 kb OK 10 30
9 1368 ms 21319 kb OK 10
10 1497 ms 21123 kb OK 10
Punctaj total 100