摘要: https://www.luogu.org/problemnew/show/1563 题目: 小南有一套可爱的玩具小人, 它们各有不同的职业。 有一天, 这些玩具小人把小南的眼镜藏了起来。 小南发现玩具小人们围成了一个圈,它们有的面朝圈内,有的面朝圈外。如下图: 这时singer告诉小南一个谜題: 阅读全文
posted @ 2017-11-09 20:56 ybyjq 阅读(309) 评论(0) 推荐(0)
摘要: int readint(){//读入优化 int Num; char ch; while((ch=getchar())'9');//这里有分号 Num=ch-'0'; while((ch=getchar())>='0'&&ch<='9'){ Num=Num*10+ch-'0'; } return Num; } 阅读全文
posted @ 2017-11-09 20:31 ybyjq 阅读(120) 评论(0) 推荐(0)