Shaoyuan CHEN
|
b360795abe
Update testlib.h
|
4 years ago |
MikeMirzayanov
|
ccaea8526d
Now partition(int size, T sum) represents sum as a sum of POSITIVE numbers
|
4 years ago |
MikeMirzayanov
|
458924a419
rnd.partition(size, sum[, min_part=0]) returns random (unsorted) partition which is a representation of the given `sum` as a sum of `size` non-negative integers
|
4 years ago |
MikeMirzayanov
|
c8df912571
Fixed a grammar typo
|
4 years ago |
MikeMirzayanov
|
666f910539
rnd.distict(size, n) and rnd.distict(size, from, to)
|
4 years ago |
MikeMirzayanov
|
c48c694658
has_opt, opt<bool>("missing_key")==false, validator.testset()/validator.group() require register with command line
|
4 years ago |
MikeMirzayanov
|
3ddbd6b601
Print integer range violations in a human readable way like `violates the range [1, 10^9]` + warning fix
|
4 years ago |
MikeMirzayanov
|
5db45ac652
2020
|
4 years ago |
MikeMirzayanov
|
ccdd8fa82e
Suppress some minor warns
|
4 years ago |
MikeMirzayanov
|
e15a9e441c
Support exp notation in opts
|
4 years ago |
MikeMirzayanov
|
34f59c2742
Opts: std::string opt(index/key) functions
|
4 years ago |
MikeMirzayanov
|
224312631d
Opts supported
|
4 years ago |
MikeMirzayanov
|
022e13d527
Reformatted
|
4 years ago |
MikeMirzayanov
|
ed8eef8165
Applied: PR Infinity recursion when write to result file fails #90
|
4 years ago |
mikemirzayanov
|
dd86d0868a
Support setTestCase(i) and unsetTestCase()
|
5 years ago |
mikemirzayanov
|
0b9ba87cf7
Closed #87: InStream::readStrictDouble don't allow -0.00
|
5 years ago |
MikeMirzayanov
|
7b723dbb3d
readXs(size) -> readXs(size, indexBase = 1)
|
5 years ago |
MikeMirzayanov
|
1bcfacc3a9
Fixed #79, #80, #83, #84: added InStream::quitif(condition, ...), added readXs(size)
|
5 years ago |
MikeMirzayanov
|
d2880ce7b2
Fixed stringstream repeated usage issue
|
6 years ago |
mikemirzayanov
|
0c7a5a5e5c
Fixed ungetc issue.
|
6 years ago |
mikemirzayanov
|
b9d50d53d8
Fixed compilation in g++ (for std=c++03)
|
6 years ago |
mikemirzayanov
|
33ed434f72
Small fixes.
|
6 years ago |
mikemirzayanov
|
e471493703
Generate perms, batch of println functions, allow any whitespace in readInts-like functions for non-validators
|
6 years ago |
mikemirzayanov
|
9457916a75
Ignore 4+ command line arguments ifdef EJUDGE.
|
6 years ago |
mikemirzayanov
|
c882416a31
Speed up of vtos(t)
|
6 years ago |
MikeMirzayanov
|
3d870c217f
0.9.16
|
6 years ago |
MikeMirzayanov
|
f819b989c7
0.9.16
|
6 years ago |
MikeMirzayanov
|
e79f983aed
0.9.15
|
6 years ago |
MikeMirzayanov
|
b70e03cc83
Fixed InStream::readStringTo
|
6 years ago |
Mike Mirzayanov
|
1b9c12314f
Merge pull request #49 from zaic/master
|
6 years ago |