SuitNdtie

Marayan TASK_096

Mar 9th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int n;
  7.     cin>>n;
  8.     for(int i=0;i<n;i++){
  9.         string marayan;
  10.         cin>>marayan;
  11.         cout<<9*marayan.length()<<endl;
  12.     }
  13.    
  14. }
Advertisement
Add Comment
Please, Sign In to add comment