Borderou de evaluare (job #858456)

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:42:23 Scor 50

Raport evaluator

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