Borderou de evaluare (job #858455)

Utilizator avatar lucametehau Metehau Luca Mihnea lucametehau IP ascuns
Problemă Sqrt (clasele 9-10) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 mar. 2026 16:20:07 Scor 50

Raport evaluator

Compilare: main.cpp: In instantiation of 'std::ostream& operator<<(std::ostream&, const Number<1000000, 6>&)': main.cpp:177:27: required from here 177 | std::cout << num.sqrt() << "\n"; | ^ main.cpp:157:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] 157 | os << (i + 1 != other.len() ? std::string(Digits - count, '0') : "") << other.digits_[i]; | ~~~~~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:167:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | freopen("sqrt.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:168:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | freopen("sqrt.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 288 kb OK 10
2 1 ms 288 kb OK 10
3 2 ms 504 kb OK 10
4 4 ms 504 kb OK 10
5 23 ms 504 kb OK 10
6 depășit 288 kb Time limit exceeded. 0
7 depășit 296 kb Time limit exceeded. 0
8 depășit 512 kb Time limit exceeded. 0
9 depășit 512 kb Time limit exceeded. 0
10 depășit 512 kb Time limit exceeded. 0
Punctaj total 50