Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let input = ['10 15 30 22']; //always string
- let print = this.print || console.log; //output -----> print() = console.log;
- let gets = this.gets || ((arr, index) => () => arr[index++])(input, 0); //read input
- let s = gets().split(' ');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement