DCP-34: Number of Digits Back to All Problems

Beginner Beginners Problems > Ad-hoc


Shakil always loves to fun with children. One day shakil asks his 5 years old cousin Nishi, to solve a problem. Shakil says “I will Give you an integer (0 – 1000). Now tells me, how many digits contain that integer? “ . Nishi is totally stuck in this problem. Can you help Nishi to make a smile on her little face? Input: ------ First line of the input will consist of an integer which represent the test case **T (0 < T <= 1001)**. Each test case contains an integer **X (0 <= X <= 1000)**. Output: ------- For every test case, print number of digits of **X**. Sample Input ------------ 2 1 30 Sample Output ------------- 1 2


Problem Setter:

Shakil Ahmed

Please login to submit solution to this problem.

Problem Limits

Language Time Limit (seconds)
C/C++ 1.00
Java 3.00
C# 3.00
PHP 3.00

Problem Stats

216/420

Solve/Submission

Ranking

# User Language Timing
01 joy25896 Cpp 0.00s
02 ronok_cse Cpp 0.00s
03 Aman_khan Cpp 0.00s
04 ishrafislam2727 Cpp 0.00s
05 emrul Cpp 0.00s
06 Ansarul_14 Cpp 0.00s
07 Ronysplanet Cpp 0.00s
08 ash12 Cpp 0.00s
09 return_SS Cpp 0.00s
10 MarufAhmed Cpp 0.00s
11 jalal Cpp 0.00s
12 Avijeet Cpp 0.00s
13 Indro_BU Cpp 0.00s
14 USB16 Cpp 0.00s
15 TalukderMuhammad Cpp 0.00s
16 Uap_Amit Cpp 0.00s
17 KratosR Cpp 0.00s
18 golapraj Cpp 0.00s
19 iftekher2283 Cpp 0.00s
20 terminator_c Cpp 0.00s
21 gulzar Cpp 0.00s
22 Sojal Cpp 0.00s
23 JubayerSohel Cpp 0.00s
24 seyedssz Cpp 0.00s
25 piyal_ict_mbstu Cpp 0.00s
26 ProMAGFAT Cpp 0.00s
27 Nurul_CSE Cpp 0.00s
28 Sabuj_CSE Cpp 0.00s
29 rezaul_karim Cpp 0.00s
30 noshin_ju Cpp 0.00s
31 Iqbal1013 Cpp 0.00s
32 nurul_islam Cpp 0.00s
33 Mehedi07 Cpp 0.00s
34 maxhasan Cpp 0.00s
35 gazi93 Cpp 0.00s
36 jayed_al_hasan Cpp 0.00s
37 Mr_KAJOL Cpp 0.00s
38 The_Viper Cpp 0.00s
39 abd007 Cpp 0.00s
40 Nazmul0092 Cpp 0.00s
41 Masum_ice Cpp 0.00s
42 lazyfahim Cpp 0.00s
43 muhaimin Cpp 0.00s
44 NightTrain_404 Cpp 0.00s
45 giash_uddin Cpp 0.00s
46 Snails Cpp 0.00s
47 deder Cpp 0.00s
48 rafsandevs Cpp 0.00s
49 Hasan_Masud Cpp 0.01s
50 susmoys Cpp 0.01s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support