fork download
  1. //http://d...content-available-to-author-only...e.org/dictionary/british/play-cat-and-mouse
  2. #include <iostream>
  3. #include <cstdio>
  4. using namespace std;
  5.  
  6. int main() {
  7. int mice, cats, flag;
  8. mice=999999;
  9. cats=0;
  10. string s="play cat and mouse";
  11. while(s=="play cat and mouse" && flag==0) {
  12. if(mice==0) {
  13. flag=1;
  14. break;
  15. }
  16. mice--;
  17. cats++;
  18. }
  19. printf("Pussy pussy cats: %d", cats);
  20. return 0;
  21. }
Success #stdin #stdout 0.03s 3428KB
stdin
Standard input is empty
stdout
Pussy pussy cats: 999999