Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdio>
  3. #include <cmath>
  4. #include <algorithm>
  5. #include <vector>
  6. #include <queue>
  7. #include <stack>
  8. #include <map>
  9. #define $ ios::sync_with_stdio(0);
  10. #define F first
  11. #define S second
  12. #define oo 999999999
  13. #define pb push_back
  14.  
  15. using namespace std;
  16.  
  17. typedef long long int ll;
  18. typedef pair<int, int> ii;
  19. typedef vector<int> vi;
  20. typedef vector<ii> vii;
  21. typedef vector<vii> graph;
  22.  
  23. int main()
  24. {$
  25.     int n, m, a,b,c;
  26.     string s;
  27.     cin>>s;
  28.  
  29.     if(s.find("ss")!=s.npos)
  30.         cout<<"hiss"<<endl;
  31.     else
  32.         cout<<"no hiss"<<endl;
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement