# 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

# 310/662

Solve/Submission

### Ranking

# User Language Timing
01 Masum_ice Cpp14 0.00s
02 joy25896 Cpp14 0.00s
03 Peregrine_Falcon Cpp14 0.00s
04 maxhasan Cpp14 0.00s
05 terminator_c Cpp14 0.00s
07 gsshanto Cpp14 0.00s
08 giash_uddin Cpp14 0.00s
09 marineCoder Cpp14 0.00s
10 Koushik54 Cpp14 0.00s
11 nazmul_bzs Cpp14 0.00s
12 abd007 Cpp14 0.00s
13 soumitro_cse1604114 Cpp14 0.00s
14 Tuli_93 Cpp14 0.00s
15 MUKTO1604100 Cpp14 0.00s
16 upol_vai Cpp14 0.00s
17 Nabila_ Cpp14 0.00s
18 lolcoder Cpp14 0.00s
19 Nusrat_cse16 Cpp14 0.00s
20 1604099_ishtiaq Cpp14 0.00s
21 skrasel126 Cpp14 0.00s
22 1604118 Cpp14 0.00s
23 Shibly1604111 Cpp14 0.00s
24 opu1604073 C 0.00s
25 CSE1604084_Mahir C 0.00s
26 Cse1604088mahfuj Cpp14 0.00s
27 nahid101 Cpp 0.00s
28 Morass Cpp14 0.00s
29 10102020 Cpp 0.00s
30 abdulmukit Cpp 0.00s
31 Roll_no_152 C 0.00s
32 souravahmed C 0.00s
33 feodorv Cpp 0.00s
34 tanjilaorpe 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 Azizul_cse27 Cpp 0.00s
40 Big_Pappa Cpp 0.00s
41 SaimonNse05 C 0.00s
42 hasan_Abdullah Cpp 0.01s
43 Saleh Cpp 0.01s
44 mdshihab Cpp14 0.01s
45 muntasir10mu Cpp 0.01s
46 Ratul23 C 0.01s
47 rabbicse Cpp 0.01s
48 Nasif_44th C 0.01s
49 Naim1611052 Cpp 0.01s
50 Redwan2988 Cpp 0.01s
Feedback