File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
var input = require ( '../../input' )
2
2
3
3
function randomInts ( min , max ) {
4
- return Math . floor ( Math . random ( ) * max + min )
4
+ return Math . floor ( Math . random ( ) * max + min - 1 )
5
5
}
6
6
7
7
module . exports = input ( new Array ( randomInts ( 10 , 100 ) )
Original file line number Diff line number Diff line change 3
3
var input = require ( '../../input' )
4
4
5
5
function randomInts ( min , max ) {
6
- return Math . floor ( Math . random ( ) * max + min )
6
+ return Math . floor ( Math . random ( ) * max + min - 1 )
7
7
}
8
8
9
9
module . exports = input ( new Array ( randomInts ( 0 , 19 ) )
Original file line number Diff line number Diff line change 3
3
var input = require ( '../../input' )
4
4
var lorem = require ( 'lorem-ipsum' )
5
5
function randomInts ( min , max ) {
6
- return Math . floor ( Math . random ( ) * max + min )
6
+ return Math . floor ( Math . random ( ) * max + min - 1 )
7
7
}
8
8
9
9
module . exports = input ( lorem ( ) . split ( ' ' ) [ 0 ] , function ( ) {
You can’t perform that action at this time.
0 commit comments