This problem gives you a flavor the concept of special judge
来源:学生作业帮 编辑:大师作文网作业帮 分类:英语作业 时间:2024/11/13 16:14:19
This problem gives you a flavor the concept of special judge.That means the judge is smart enough to verify your code even though it may print different results.In this problem you are asked to find the opposite task of the previous problem.To be specific,I have two computers where I stored my problems.Now I know the total number of problems is n.And there are no duplicate problems and there can be at most 10 problems in each computer.You have to find the number of problems in each of the computers.Since there can be multiple solutions.Any valid solution will do.
Input
Input starts with an integer T (≤ 25),denoting the number of test cases.Each case starts with a line containing an integer n (0 ≤ n ≤ 20) denoting the total number of problems.
Output
For each case,print the number of problems stored in each computer in a single line.A single space should separate the non-negative integers.
Sample Input
3
10
7
7
Sample Output
0 10
0 7
1 6
Input
Input starts with an integer T (≤ 25),denoting the number of test cases.Each case starts with a line containing an integer n (0 ≤ n ≤ 20) denoting the total number of problems.
Output
For each case,print the number of problems stored in each computer in a single line.A single space should separate the non-negative integers.
Sample Input
3
10
7
7
Sample Output
0 10
0 7
1 6
这道题跟它的上一道题是有共同语境的,如果看过上一题,自然就明白这一题的意思了.
这一题实际上是一道引导用户熟悉系统中'special judge'的任务题,'special judge'通常用于一题多解的判定.
第三句说这次要做一个相反的任务,这句就是跟上一题相对而言的.上一题是求两台电脑中的问题之和,这一题是已知和,求两台电脑中存放的题目数的可能解.
由于每组测试数据只需要输出一个可行解,所以要用到'special judge',呵呵.
呃,另外,如果你不是在LightOJ上看到的这个题,那么你可能真的迷失在缺失的上下文中了,去LightOJ上看一下就知道了,这个是上面的1001.
这一题实际上是一道引导用户熟悉系统中'special judge'的任务题,'special judge'通常用于一题多解的判定.
第三句说这次要做一个相反的任务,这句就是跟上一题相对而言的.上一题是求两台电脑中的问题之和,这一题是已知和,求两台电脑中存放的题目数的可能解.
由于每组测试数据只需要输出一个可行解,所以要用到'special judge',呵呵.
呃,另外,如果你不是在LightOJ上看到的这个题,那么你可能真的迷失在缺失的上下文中了,去LightOJ上看一下就知道了,这个是上面的1001.
This problem gives you a flavor the concept of special judge
英语翻译The special love gives special you
it is the part of the face( that )gives a person special cha
Is this the way you thought of ________ the problem?
the concept of a disutility function
Can you think of the best way ________ this problem?
英语翻译GYM Car concept gives you a good workout while charging
Don't you think _ a special committee to study the problem.
Have you got the idea (that) this book gives you of life in
英语翻译Have you got the idea(that)this book gives you of life i
Have you got the idea(that)this book gives you of
The concept of "Leadership"