Today I have faced a weird type of wrong submission.Is that because of the power value is huge?or am I missing some things?
Problem:Little Pony and Expected Maximum
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3773 |
3 | Radewoosh | 3646 |
4 | ecnerwala | 3624 |
5 | jqdai0815 | 3620 |
5 | Benq | 3620 |
7 | orzdevinwang | 3612 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | Um_nik | 164 |
2 | maomao90 | 160 |
3 | -is-this-fft- | 159 |
4 | atcoder_official | 158 |
4 | cry | 158 |
4 | awoo | 158 |
7 | adamant | 155 |
8 | nor | 154 |
9 | maroonrk | 151 |
9 | Dominater069 | 151 |
Today I have faced a weird type of wrong submission.Is that because of the power value is huge?or am I missing some things?
Problem:Little Pony and Expected Maximum
Name |
---|
NaN
meansNot-a-number
(but for somehow normally its type is still a number :D )If you do something like $$$\frac{0}{0}, \sqrt{negative}...$$$ then it returns $$$NaN$$$
String can also make $$$NaN$$$ value
$$$0^0$$$ is $$$1$$$
$$$x \over 0$$$ is $$$inf$$$
but also, $$$0 \over 0$$$ is $$$NaN$$$
oops, yes, you are correct. Fixed, thank you