
模拟赛DAy1
Devinxtw
毛毛虫蜕变记
展开
-
A - A Math Problem
You are given a positive integer n, please count how many positive integers k satisfy kk≤nkk≤n. InputThere are no more than 50 test cases. Each case only contains a positivse integer n in a line. ...原创 2018-07-14 21:34:18 · 571 阅读 · 0 评论 -
G - Duizi and Shunzi
Nike likes playing cards and makes a problem of it. Now give you n integers, ai(1≤i≤n)ai(1≤i≤n) We define two identical numbers (eg: 2,22,2) a Duizi, and three consecutive positive integers (eg: 2,3,4...原创 2018-07-15 09:00:39 · 251 阅读 · 0 评论