摘要:
Piotr's AntsTime Limit: 2 seconds Kent Brockman Piotr likes playing with ants. He has n of them on a horizontal poleL cm long. Each ant is facing eith 阅读全文
摘要:
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1103 No solution的情况是不存在的,如果n个数中存在8的倍数,那么直接输出这个数就好了,如果不存在,n个数对n取余,因为不存在余数为0,所以共n-1种余数,n个 阅读全文