Beginner Beginners Problems > Ad-hoc

You are given a positive integer number n. You have to check, if the number is square of another integer number. Say a number ‘A’ is called the square number of ‘B’ if and only if A = B*B . That’s why 4 is a square number because 4 = 2 * 2 Input: ------ Input starts with an integer **T (T<=100)**, denoting the number of test case. The following **T** line will have a positive integer number **n (n<=1000)**. Output: ------- For each test case first print the case number “**Case %d:** ” and then print "**YES**", if the number is square of another integer number, else print "**NO**". Sample Input ------------ 2 3 4 Sample Output ------------- Case 1: NO Case 2: YES

Shakil Ahmed

Language |
Time Limit (seconds) |

C/C++ | 1.00 |

Java | 2.00 |

C# | 2.00 |

PHP | 2.00 |

Solve/Submission

# | User | Language | Timing |
---|---|---|---|

01 | leenaiitju | Cpp | 0.00s |

02 | return_SS | Cpp | 0.00s |

03 | joy25896 | Cpp | 0.00s |

04 | MarufAhmed | Cpp | 0.00s |

05 | bu_hridoy | Cpp | 0.00s |

06 | Rana_EEE_DUET | Cpp | 0.00s |

07 | ishrafislam2727 | Cpp | 0.00s |

08 | ronok_cse | Cpp | 0.00s |

09 | emrul | Cpp | 0.00s |

10 | Mubeen | Cpp | 0.00s |

11 | Ansarul_14 | Cpp | 0.00s |

12 | Ashish972 | Cpp | 0.00s |

13 | ash12 | Cpp | 0.00s |

14 | USB16 | Cpp | 0.00s |

15 | Avijeet | Cpp | 0.00s |

16 | Indro_BU | Cpp | 0.00s |

17 | TalukderMuhammad | Cpp | 0.00s |

18 | Uap_Amit | Cpp | 0.00s |

19 | maxhasan | Cpp | 0.00s |

20 | gazi93 | Cpp | 0.00s |

21 | jayed_al_hasan | Cpp | 0.00s |

22 | Sojal | Cpp | 0.00s |

23 | iftekher2283 | Cpp | 0.00s |

24 | terminator_c | Cpp | 0.00s |

25 | gulzar | Cpp | 0.00s |

26 | JubayerSohel | Cpp | 0.00s |

27 | 7Mahfuz | Cpp | 0.00s |

28 | kfahim110 | Cpp | 0.00s |

29 | seyedssz | Cpp | 0.00s |

30 | Nurul_CSE | Cpp | 0.00s |

31 | rezaul_karim | Cpp | 0.00s |

32 | Eucalyptus | Cpp | 0.00s |

33 | Iqbal1013 | Cpp | 0.00s |

34 | nurul_islam | Cpp | 0.00s |

35 | nazmul_bzs | Cpp | 0.00s |

36 | zitul_mahmud | Cpp | 0.00s |

37 | sadia2427 | Cpp | 0.00s |

38 | Masum_ice | Cpp | 0.00s |

39 | jalal | Cpp | 0.00s |

40 | muhaimin | Cpp | 0.00s |

41 | AlaminJust | Cpp | 0.00s |

42 | Hasan_Masud | Cpp | 0.00s |

43 | azim_uddin | Cpp | 0.00s |

44 | SakibAlamin | Cpp | 0.00s |

45 | giash_uddin | Cpp | 0.00s |

46 | abufarhad | Cpp | 0.00s |

47 | mhsjaber | Cpp | 0.00s |

48 | abd007 | Cpp | 0.00s |

49 | Mr_KAJOL_JUST | Cpp | 0.00s |

50 | Ratul098 | Cpp | 0.00s |

Copyright © 2015-2016 Dev Skill.

Feedback
#### Your feedback is our precious!

## Thank you for providing feedback! Our developers will be happy :)

## Sorry there was a problem when submitting the feedback. Please try again. :(