Beginner Beginners Problems > Ad-hoc

You are given a very large integer number **N** consisting of digit 9 only. Your task is to find the square of **N** (N^2). It is assured that number **N** contains only digit **9**. **N** can have at most **100** digits. Input: ------ There are several test cases and input will be terminated by end of file(**EOF**). Total number of test cases will be less than 20.<br> Each case contains one very large integer number **N** denoting the number. **N** can have at most 100 digits. Output: ------- For each case of input, print the square of **N** i.e. (N^2). Sample Input ------------ 9 999 99 Sample Output ------------- 81 998001 9801

Mohibur Rahman

Language |
Time Limit (seconds) |

C | 1.00 |

C++ | 1.00 |

C++14 | 1.00 |

C# | 2.00 |

Go | 2.00 |

Java | 2.00 |

JavaScript | 2.00 |

Objective-C | 2.00 |

Perl | 2.00 |

PHP | 2.00 |

Python | 2.00 |

Python3 | 2.00 |

Ruby | 2.00 |

VB.Net | 2.00 |

Solve/Submission

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

01 | ashraf_neo | Cpp | 0.00s |

02 | cse_nazmul | Cpp | 0.00s |

03 | habib_rahman | Cpp | 0.00s |

04 | dhormopran | Cpp14 | 0.00s |

05 | nuhu_iu | Cpp | 0.00s |

06 | ArifKhanShubro | Cpp | 0.00s |

07 | Mahim007 | Cpp14 | 0.00s |

08 | Unseen | Cpp | 0.00s |

09 | astinaam | Cpp14 | 0.00s |

10 | subhashis_cse | Cpp | 0.00s |

11 | Zayed | Cpp | 0.00s |

12 | Durbin | Cpp14 | 0.00s |

13 | Nazmul_WUB | Cpp | 0.00s |

14 | mbstu_nitai | Cpp | 0.00s |

15 | rabel | Cpp | 0.00s |

16 | Shakil_Mahmud | Cpp | 0.00s |

17 | haasib | Cpp | 0.00s |

18 | Jisancse | Cpp14 | 0.00s |

19 | Foysol_Ahmed | Cpp | 0.00s |

20 | tariqiitju | Cpp | 0.00s |

21 | Tanmoy | Cpp | 0.00s |

22 | astrolion7 | Cpp14 | 0.00s |

23 | Superstorm | Cpp | 0.00s |

24 | Nur_Alam39 | Cpp | 0.00s |

25 | Mr_adnan | Cpp | 0.00s |

26 | rohijulislam | Cpp | 0.00s |

27 | t0whid | Cpp | 0.00s |

28 | robin_aust | Cpp | 0.00s |

29 | gazi93 | Cpp | 0.00s |

30 | lazyfahim | Cpp | 0.00s |

31 | Ishrak | Cpp | 0.00s |

32 | MRITuhin | Cpp | 0.00s |

33 | mhiceiu | Cpp | 0.00s |

34 | _zErO_ | Cpp | 0.00s |

35 | prodipdatta7 | Cpp14 | 0.00s |

36 | Dragon_Curve | Cpp | 0.00s |

37 | The_Viper | Cpp | 0.00s |

38 | Aman_khan | Cpp | 0.00s |

39 | rayhan50001 | Cpp | 0.00s |

40 | wizard | Cpp | 0.00s |

41 | saifkhan007420 | Cpp | 0.00s |

42 | yasirnabil534 | Cpp | 0.00s |

43 | Anikcsejnu | Cpp | 0.00s |

44 | non_coder | C | 0.00s |

45 | iamsadee | Cpp | 0.00s |

46 | pulak_ict_mbstu | Cpp | 0.00s |

47 | Sagor | Cpp | 0.00s |

48 | arafat_hasan | Cpp14 | 0.00s |

49 | SaikatS | Cpp | 0.00s |

50 | afzalul | 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. :(