fork download
  1. #include <iostream>
  2. #include <cstring>
  3. using namespace std;
  4.  
  5. char s[50];
  6. int n;
  7.  
  8. int main() {
  9. cin.getline(s, 1);
  10. cout << strlen(s);
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5284KB
stdin
Ana are mere!
stdout
Standard output is empty