DCP-184: Easy Sequence Back to All Problems

Beginner Math > Basic Math


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


Problem Setter:

Sifat Rabbi

Please login to submit solution to this problem.

Problem Limits

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

Problem Stats

461/758

Solve/Submission

Ranking

# User Language Timing
01 ash12 Cpp14 0.00s
02 Core_i14 Cpp14 0.00s
03 Saimum_140128 Cpp14 0.00s
04 Ruman_Hossain Cpp14 0.00s
05 maxhasan Cpp14 0.00s
06 iamramzan Cpp14 0.00s
07 shishir09 Cpp14 0.00s
08 atqrhmn Cpp14 0.00s
09 joy25896 Cpp14 0.00s
10 The_Viper Cpp14 0.00s
11 deder Cpp14 0.00s
12 wizard Cpp 0.00s
13 non_coder C 0.00s
14 Sky2496 Cpp14 0.00s
15 Nurul_CSE Cpp14 0.00s
16 junayedmahmud Cpp14 0.00s
17 AlaminJust Cpp14 0.00s
18 ShihabHossain Cpp14 0.00s
19 Mr_KAJOL Cpp14 0.00s
20 leenaiitju Cpp 0.00s
21 gulzar Cpp14 0.00s
22 JubayerSohel Cpp14 0.00s
23 Mehedi07 Cpp14 0.00s
24 sukanta Cpp14 0.00s
25 MarufAhmed Cpp 0.00s
26 Sayma_COU Cpp 0.00s
27 Rakib05 C 0.00s
28 exceptional_prapti Cpp 0.00s
29 jualahmed Cpp14 0.00s
30 Salty_Coder Cpp14 0.00s
31 Ashish972 Cpp14 0.00s
32 jayed_al_hasan Cpp14 0.00s
33 monir769 Cpp 0.00s
34 Khayrul_34 Cpp 0.00s
35 HM39 Cpp14 0.00s
36 Koushik54 Cpp14 0.00s
37 hmtanbir Cpp14 0.00s
38 Mahadi024 Cpp14 0.00s
39 lolcoder Cpp14 0.00s
40 milon019 Cpp 0.00s
41 noyonhossen Cpp14 0.00s
42 CSE1604084_Mahir Cpp 0.00s
43 Alnoman120113 Cpp14 0.00s
44 soumitro_cse1604114 Cpp14 0.00s
45 Anika_Bushra Cpp14 0.00s
46 1604099_ishtiaq Cpp14 0.00s
47 Rifat121 Cpp 0.00s
48 mahmud2690 Cpp 0.00s
49 abdulmukit Cpp 0.00s
50 joymollick Cpp14 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support