fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. string s = "hello";
  7. int len = s.size();
  8. cout << s.substr(len - 3, len) << endl;
  9. cout << 21/20 << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5528KB
stdin
Standard input is empty
stdout
llo
1