建表(1~1000000)
超過1000000不能查表,不然會segmentation fault
https://66lemon66.blogspot.com/2021/01/zerojudge-c039-00100-3n-1-problem-c.html