|
|
back to boardEnter here if you have WA#12 Test 12 is overflow case. Be careful with data type. Re: Enter here if you have WA#12 It is so strange! If I use int for N and M, I get WA in test 12. If I use long, it is OK. But 2^31 - 1 (the max value of N, M) is normal for int. So I think the test 12 uses numbers larger than 2^31 - 1. |
|
|