MikeMirzayanov
|
66581ca6bd
Less warnings
|
3 years ago |
Supermagzzz
|
d43416d41f
Bug with rnd.partition(1, 1, 1) fixed
|
3 years ago |
Egor Suvorov
|
a15e743b0d
Document that regexes ignore spaces (fixes #116)
|
3 years ago |
MikeMirzayanov
|
6f6b4c6511
Tiny reformat
|
4 years ago |
Mike Mirzayanov
|
fe4d5b8642
Merge pull request #113 from MikeMirzayanov/dev-mikemirzayanov
|
4 years ago |
MikeMirzayanov
|
4ae1df5295
Fixed hypothetical UB in stringToDouble and stringToStrictDouble
|
4 years ago |
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 |