fork download
  1. // numbers = "1 15 7 3 8 8 19 5 12 8 2 6 8";
  2. numbers = "1 15 82 82 82 82 82 7 3 19 5 12 2 6";
  3. if (numbers.match(/(\d+)\s\1\s\1\s\1/)) print("Found four times repeated number");
  4. else print("No four times repeated number found");
Success #stdin #stdout 0.29s 213120KB
stdin
Standard input is empty
stdout
Found four times repeated number