SGU107 - 987654321 problem
摘要:
107. 987654321 problemtime limit per test: 0.5 sec.memory limit per test: 4096 KBFor given number N you must output amount of N-digit numbers, such, that last digits of their square is equal to 987654321.InputInput contains integer number N (1<=N<=106)OutputWrite answer to the output.Sample In 阅读全文
posted @ 2013-03-16 23:33 仗剑奔走天涯 阅读(167) 评论(0) 推荐(0) 编辑