fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. string s;
  7. s="wt44w5yw4t";
  8. int n=s.find('d');
  9. cout<<n;
  10. return 0;
  11.  
  12. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
-1