Borderou de evaluare (job #858454)

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:17:03 Scor 10

Raport evaluator

Compilare: main.cpp: In instantiation of 'std::ostream& operator<<(std::ostream&, const Number<1000000000, 9>&)': 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 Incorect 0
3 1 ms 504 kb Incorect 0
4 3 ms 504 kb Incorect 0
5 11 ms 288 kb Incorect 0
6 34 ms 504 kb Incorect 0
7 depășit 504 kb Time limit exceeded. 0
8 depășit 296 kb Time limit exceeded. 0
9 depășit 296 kb Time limit exceeded. 0
10 depășit 512 kb Time limit exceeded. 0
Punctaj total 10