Efficiently count how many integers from 1 to N contains 0's as a digit.
First line of the input contains the number of test cases T. Each line of test case contains the integer N.
Number of integers that contain 0 as a digit are printed.
1 <=T<= 100
1 <=N<= 10000
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.