Guest User

Untitled

a guest
May 17th, 2021
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let input = ['10 15 30 22']; //always string
  2.  
  3. let print = this.print || console.log; //output -----> print() = console.log;
  4. let gets = this.gets || ((arr, index) => () => arr[index++])(input, 0); //read input
  5.  
  6.  
  7.  
  8. let s = gets().split(' ');
RAW Paste Data