fork download
  1. // I AM A MUSLIM
  2.  
  3. #include "bits/stdc++.h"
  4.  
  5. #pragma GCC optimize("O3,unroll-loops")
  6. #pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
  7.  
  8. #define fast_io std::ios::sync_with_stdio(0);std::cin.tie(0)
  9. #define lli long long int
  10. #define flush fflush(stdout)
  11. #define line printf("\n")
  12. #define yn(a, b) printf("%s\n", (a) >= (b) ? "Yes":"No")
  13. #define amodm(a, M) (((a)%M+M)%M)
  14. #define read(s) std::string s;std::cin >> s
  15. #define write(s) printf("%s\n", s.c_str())
  16. // #define int lli
  17.  
  18. using pii = std::pair<int,int>;
  19.  
  20. const int MOD = 1000000007;
  21. const int mxN = 500100;
  22.  
  23. signed main() {
  24. int testCases=1;
  25. // scanf("%d",&testCases);
  26.  
  27. for (int TC = 1; TC <= testCases; TC++) {
  28. std::string s; getline(std::cin, s); printf("%d", (int)s.size());
  29. }
  30.  
  31. return 0;
  32. }
Success #stdin #stdout 0s 5288KB
stdin
this is simple test input
stdout
25