A = = B?Time
limit:1000/1000 MS (java/others) Memory limit:32768/32768 K (java/others)
Total submission (s): 72556 Accepted Submission (s): 11427
Problem descriptiongive You both numbers A and B, if A is equal to B, you should print "YES", or print "NO".
Inputeach test Case contains-numbers A and B.
Outputfor each case, if A was equal to B, you should print "YES", or print "NO".
Sample Input
1 22 23) 34 3
Sample Output
Noyesyesno
Author8600 && XHD
Source Celebration Cup warm up
Recommendlinle | We have carefully selected several similar problems for you:2057 2050 1096 1091 2074
There is a natural sense of superiority over C players only when they are bigger.
Import java.io.*;import java.math.bigdecimal;import java.util.*;p ublic class main{public static void Main (string[] args {//TODO auto-generated method Stubscanner input = new Scanner (system.in); while (Input.hasnext ()) {BigDecimal A = Input.ne Xtbigdecimal (); BigDecimal B = Input.nextbigdecimal (); if (A.compareto (b)!=0) {System.out.println ("NO");} Else{system.out.println ("YES");}}}
Hdu-2054-a = = B? (Java large number BigDecimal)