I was recently trying to solve problem 230B - Т-простые числа and I'm getting WA on test 8, I don't know why. Also the solution comes out correct in my local compiler. I need help. attaching the solution. 244541266
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3803 |
2 | jiangly | 3707 |
3 | Benq | 3627 |
4 | ecnerwala | 3584 |
5 | orzdevinwang | 3573 |
6 | Geothermal | 3569 |
6 | cnnfls_csy | 3569 |
8 | Radewoosh | 3542 |
9 | jqdai0815 | 3532 |
10 | gyh20 | 3447 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | maomao90 | 165 |
2 | awoo | 164 |
3 | adamant | 162 |
4 | maroonrk | 152 |
5 | -is-this-fft- | 151 |
5 | nor | 151 |
7 | atcoder_official | 147 |
8 | TheScrasse | 146 |
9 | Petr | 145 |
10 | SecondThread | 142 |
I was recently trying to solve problem 230B - Т-простые числа and I'm getting WA on test 8, I don't know why. Also the solution comes out correct in my local compiler. I need help. attaching the solution. 244541266
Название |
---|
Auto comment: topic has been updated by green-eyeliner (previous revision, new revision, compare).
When you do the sqrt(temp) * sqrt (temp), just add (int) sqrt(temp) * sqrt(temp), must give you AC
got it! thanks :))