UOJ Logo 蜗牛编程训练题库

JZOJ

#385. 【bzoj2749】[HAOI2012]外星人

Statistics
时间限制:1s    空间限制:256MB    输入文件:alien.in    输出文件:alien.out
当前24小时内您还剩30次提交本题的机会

Description

Input

Output

输出test行,每行一个整数,表示答案。

Sample Input

1
2
2 2
3 1

Sample Output

3

HINT

$Test<=50,Pi<=10^5,1<=Q1<=10^9$

Solutions

标题 发表者 发表日期
None