以下就是连接后的网页= =,要是中文的就好了··
Problem Description
Ignatius is building an Online Judge, now he has worked out all the problems except the Judge System. The system has to read data from correct output file and user's result file, then the system compare the two files. If the two files are absolutly same, then the Judge System return "Accepted", else if the only differences between the two files are spaces(' '), tabs('\t'), or enters('\n'), the Judge System should return "Presentation Error", else the system will return "Wrong Answer".
Given the data of correct output file and the data of user's result file, your task is to determine which result the Judge System will return.
Input
The input contains several test cases. The first line of the input is a single integer T which is the number of test cases. T test cases follow.
Each test case has two parts, the data of correct output file and the data of the user's result file. Both of them are starts with a single line contains a string "START" and end with a single line contains a string "END", these two strings are not the data. In other words, the data is between the two strings. The data will at most 5000 characters.
Output
For each test cases, you should output the the result Judge System should return.
Sample Input
4
START
1 + 2 = 3
END
START
1+2=3
END
START
1 + 2 = 3
END
START
1 + 2 = 3
END
START
1 + 2 = 3
END
START
1 + 2 = 4
END
START
1 + 2 = 3
END
START
1
+
2
=
3
END
Sample Output
Presentation Error
Presentation Error
Wrong Answer
Presentation Error
(中文版··)
问题的描述,
伊格内休斯是建立一个网上的判断,现在他已经解决了所有的问题,除了法官制度。这个系统已经阅读资料正确结果输出文件和用户的文件,然后系统比较两个文件。如果这两个文件的意思是相同的,然后法官制度还“接受”,如果唯一的区别这两个文件的空间(')、制表符(' \ t '),或进入(' \ n '),法官制度应归”的报告错误”,其他系统将返回“错误的答案。”
因为数据的正确的输出文件和资料分析结果的用户档案,你的任务是要确定哪些结果判断系统就会回来。
输入,
输入包含一些测试用例。第一行输入的是一个整数,是大量的测试用例。教师的测试用例。
每个测试用例有两个部分,这个数据的正确的输出文件和数据的用户的成绩档案。他们俩都是以单行包含一个字符串"开始",最后一行包含一个字符串,这两个“尽头”不是字符串数据。换句话说,这个数据是两个人之间的字符串。数据将在大多数5000个字符。
输出
每个测试用例,你应该输出结果判断系统应该回来了。
样品输入,
4
开始,
1 + 2 = 3
最后
开始,
1 + 2 = 3
最后
开始,
1 + 2 = 3
最后
开始,
1 + 2 = 3
最后
开始,
1 + 2 = 3
最后
开始,
1 + 2 = 4
最后
开始,
1 + 2 = 3
最后
开始,
1 + 2 = 3
最后
样品输出
报告错误
报告错误
错误答案,
报告错误