Moin loves to play with sequence. Now here is a sequence **1 3 4 ............... N** . Your task is to find the Nth term of the sequence. Input: ------ Input starts with an integer **T (1<=20)**, denoting the number of test cases. Each case contains an integer **N (1 ≤ N ≤ 44)** denoting the term number. Output: ------- For each input output the Nth term of the sequence in a single line. Sample Input ------------ 1 4 Sample Output ------------- 7

Sifat Rabbi

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 | somia | Cpp | 0.00s |

02 | RRIZVE | C | 0.00s |

03 | sukanta | Cpp14 | 0.00s |

04 | iamramzan | Cpp14 | 0.00s |

05 | jualahmed | Cpp14 | 0.00s |

06 | JubayerSohel | Cpp14 | 0.00s |

07 | AlaminJust | Cpp14 | 0.00s |

08 | Salty_Coder | Cpp14 | 0.00s |

09 | The_Viper | Cpp14 | 0.00s |

10 | ash12 | Cpp14 | 0.00s |

11 | jayed_al_hasan | Cpp14 | 0.00s |

12 | maxhasan | Cpp14 | 0.00s |

13 | joy25896 | Cpp14 | 0.00s |

14 | Ashish972 | Cpp14 | 0.00s |

15 | gulzar | Cpp14 | 0.00s |

16 | HM39 | Cpp14 | 0.00s |

17 | deder | Cpp14 | 0.00s |

18 | Core_i14 | Cpp14 | 0.00s |

19 | ShihabHossain | Cpp14 | 0.00s |

20 | Nurul_CSE | Cpp14 | 0.00s |

21 | hmtanbir | Cpp14 | 0.00s |

22 | Koushik54 | Cpp14 | 0.00s |

23 | TheMhPro | Cpp14 | 0.00s |

24 | Mr_KAJOL | Cpp14 | 0.00s |

25 | Saimum_140128 | Cpp14 | 0.00s |

26 | atqrhmn | Cpp14 | 0.00s |

27 | Ruman_Hossain | Cpp14 | 0.00s |

28 | lolcoder | Cpp14 | 0.00s |

29 | Anika_Bushra | Cpp14 | 0.00s |

30 | soumitro_cse1604114 | Cpp14 | 0.00s |

31 | 1604099_ishtiaq | Cpp14 | 0.00s |

32 | junayedmahmud | Cpp14 | 0.00s |

33 | Mahadi024 | Cpp14 | 0.00s |

34 | noyonhossen | Cpp14 | 0.00s |

35 | Alnoman120113 | Cpp14 | 0.00s |

36 | shishir09 | Cpp14 | 0.00s |

37 | joymollick | Cpp14 | 0.00s |

38 | CSE1604084_Mahir | Cpp | 0.00s |

39 | Rakib05 | C | 0.00s |

40 | shameemreza | Cpp | 0.00s |

41 | MarufAhmed | Cpp | 0.00s |

42 | Rifat121 | Cpp | 0.00s |

43 | naimahmedbd1 | Cpp14 | 0.00s |

44 | monir769 | Cpp | 0.00s |

45 | non_coder | C | 0.00s |

46 | mahmud2690 | Cpp | 0.00s |

47 | abdulmukit | Cpp | 0.00s |

48 | Sky2496 | Cpp14 | 0.00s |

49 | MBSTU_RAKIB_NR | Cpp | 0.00s |

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