fork download
  1. #include <bits/stdc++.h>
  2. #define ll long long
  3. using namespace std;
  4. string n;
  5. ll d=0;
  6. int main()
  7. {
  8. getline(cin,n);
  9. for(int i=0;i<n.length();i++){
  10. d++;
  11. }
  12. cout<<d;
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0.01s 5292KB
stdin
La Kiet hoc lap trinh c++
stdout
25