作业帮 > 英语 > 作业

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
This problem gives you a flavor the concept of special judge
这道题跟它的上一道题是有共同语境的,如果看过上一题,自然就明白这一题的意思了.
这一题实际上是一道引导用户熟悉系统中'special judge'的任务题,'special judge'通常用于一题多解的判定.
第三句说这次要做一个相反的任务,这句就是跟上一题相对而言的.上一题是求两台电脑中的问题之和,这一题是已知和,求两台电脑中存放的题目数的可能解.
由于每组测试数据只需要输出一个可行解,所以要用到'special judge',呵呵.
呃,另外,如果你不是在LightOJ上看到的这个题,那么你可能真的迷失在缺失的上下文中了,去LightOJ上看一下就知道了,这个是上面的1001.