fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. string str;
  7. cin>>str;
  8.  
  9. if(str.find("on")!=-1||str.find("no")!=-1)
  10. cout<<"WIN!"<<endl;
  11. else
  12. cout<<"FAIL!"<<endl;
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 3476KB
stdin
fskdlfjsdkonfsldfjsl
stdout
WIN!