# DCP-65: Magical Bank Back to All Problems

Raju gets a magical bank. Every time bank gives him more than one coin from previous day. 1st day Raju gets 1 coin from bank , 2nd day gets 2 coins , 3rd day gets 3 coins and so on. Raju is a little bit greedy person. He doesn’t want to wait anymore. But he had no option!!! At this point, He wants to know how many days; he needs to wait to gather certain number of coins. Can you do it for Raju? Input: ------ At first gives you an integer **T (T<=10000)**, is the number of test cases. Each case gives you an integer **X (1<=X<=10000)**. Output: ------- For every test case, print minimum number of days require for Raju to gather at least **X** coins. Sample Input ------------ 2 1 3 Sample Output ------------- 1 2

### Problem Limits

 Language Time Limit (seconds) C 3.00 C++ 3.00 C++14 3.00 C# 5.00 Go 5.00 Java 5.00 JavaScript 5.00 Objective-C 5.00 Perl 5.00 PHP 5.00 Python 5.00 Python3 5.00 Ruby 5.00 VB.Net 5.00

# 284/603

Solve/Submission

### Ranking

# User Language Timing
01 Masum_ice Cpp14 0.00s
02 maxhasan Cpp14 0.00s
03 joy25896 Cpp14 0.00s
04 Peregrine_Falcon Cpp14 0.00s
05 giash_uddin Cpp14 0.00s
06 marineCoder Cpp14 0.00s
07 abd007 Cpp14 0.00s
08 feodorv Cpp 0.00s
09 terminator_c Cpp14 0.00s
11 nazmul_bzs Cpp14 0.00s
12 gsshanto Cpp14 0.00s
13 Koushik54 Cpp14 0.00s
14 lolcoder Cpp14 0.00s
15 opu1604073 C 0.00s
16 Shibly1604111 Cpp14 0.00s
17 CSE1604084_Mahir C 0.00s
18 skrasel126 Cpp14 0.00s
19 soumitro_cse1604114 Cpp14 0.00s
20 Tuli_93 Cpp14 0.00s
21 1604099_ishtiaq Cpp14 0.00s
22 Cse1604088mahfuj Cpp14 0.00s
23 Nabila_ Cpp14 0.00s
24 upol_vai Cpp14 0.00s
25 Nusrat_cse16 Cpp14 0.00s
26 1604118 Cpp14 0.00s
27 MUKTO1604100 Cpp14 0.00s
28 nahid101 Cpp 0.00s
29 abdulmukit Cpp 0.00s
30 Morass Cpp14 0.00s
31 10102020 Cpp 0.00s
32 Roll_no_152 C 0.00s
33 tanjilaorpe C 0.00s
34 souravahmed C 0.00s
35 Robbinb1993 Cpp 0.00s
36 sajib_kumar_biswas C 0.00s
37 Nayem_1703163 C 0.00s
38 RimpaIIT C 0.00s
39 Big_Pappa Cpp 0.00s
40 Azizul_cse27 Cpp 0.00s
41 Redwan2988 Cpp 0.01s
42 rabbicse Cpp 0.01s
43 muntasir10mu Cpp 0.01s
44 Nasif_44th C 0.01s
45 wayne6172 Cpp 0.01s
46 Ratul23 C 0.01s
47 1604056_nizam Cpp 0.01s
48 Naim1611052 Cpp 0.01s
49 Rifat121 Cpp 0.01s
50 Afif_Fahim C 0.01s
Feedback