上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: Problem Description As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is 阅读全文
posted @ 2017-08-10 22:03 抓不住Jerry的Tom 阅读(319) 评论(0) 推荐(0)
摘要: Problem Description As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is 阅读全文
posted @ 2017-08-10 11:00 抓不住Jerry的Tom 阅读(354) 评论(0) 推荐(0)
摘要: 3-idiots Problem Description King OMeGa catched three men who had been streaking in the street. Looking as idiots though, the three men insisted that 阅读全文
posted @ 2017-08-09 21:09 抓不住Jerry的Tom 阅读(199) 评论(0) 推荐(0)
摘要: A * B Problem Plus Problem Description Calculate A * B. Input Each line will contain two integers A and B. Process to end of file.Note: the length of 阅读全文
posted @ 2017-08-08 22:11 抓不住Jerry的Tom 阅读(175) 评论(0) 推荐(0)
摘要: const double pi = acos(-1.0);struct Complex { double r,i; Complex(double _r,double _i):r(_r),i(_i){} Complex(){} Complex operator +(const Complex &b) { return Complex(r+b.... 阅读全文
posted @ 2017-08-08 13:26 抓不住Jerry的Tom 阅读(156) 评论(0) 推荐(0)
摘要: 2301: [HAOI2011]Problem b Description 对于给出的n个询问,每次求有多少个数对(x,y),满足a≤x≤b,c≤y≤d,且gcd(x,y) = k,gcd(x,y)函数为x和y的最大公约数。 Input Input 第一行一个整数n,接下来n行每行五个整数,分别表示 阅读全文
posted @ 2017-08-07 16:07 抓不住Jerry的Tom 阅读(199) 评论(0) 推荐(0)
摘要: E. Okabe and El Psy Kongroo Okabe likes to take walks but knows that spies from the Organization could be anywhere; that's why he wants to know how ma 阅读全文
posted @ 2017-06-28 15:48 抓不住Jerry的Tom 阅读(352) 评论(0) 推荐(0)
摘要: In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacen 阅读全文
posted @ 2017-05-21 10:22 抓不住Jerry的Tom 阅读(181) 评论(0) 推荐(0)
摘要: Problem Description You may heard of the Joseph Problem, the story comes from a Jewish historian living in 1st century. He and his 40 comrade soldiers 阅读全文
posted @ 2017-04-28 23:01 抓不住Jerry的Tom 阅读(272) 评论(0) 推荐(0)
摘要: Sasha and Kolya decided to get drunk with Coke, again. This time they have k types of Coke. i-th type is characterised by its carbon dioxide concentra 阅读全文
posted @ 2017-04-03 14:25 抓不住Jerry的Tom 阅读(766) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页