Guest
Login
跳过导航链接

Be Careful
Time Limit:1000MS  Memory Limit:32768K

Description:

“Be careful about the precision!”When Tyr doing his mathematic homework,teacher Mr.Qian always giving this warning to him.Now,Tyr has finished his mathematic homework,and here is your task to check whether Tyr’s answer is correct or not.

Input:

The input consists of several cases.The first line gives the case number N, the next part has N cases.Each case consists of two numbers R and I.R is a real number; I is an integer number.

Output:

For each case please give your check.If R rounds to I,then print “Correct” in a single line, or,print “Not Correct”.For more detail,please look at the samples.

Sample Input:

5
1.20 1
0.5 1
9.9 10
2.9 2
3.4999 3

Sample Output:

Correct
Correct
Correct
Not Correct
Correct

Source:

qn
Status  Submit


Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
 All Copyright Reserved 2006
906