Skip to content

Commit 7b15e65

Browse files
revert 10000->10'000, fix macos-12-gpp, macos-13-gpp
1 parent 5b780b3 commit 7b15e65

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
matrix:
181181
os: [macos-12]
182182
compiler: [g++]
183-
version: [11, 12, 13]
183+
version: [12, 13, 14]
184184
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
185185
runs-on: ${{ matrix.os }}
186186
steps:
@@ -209,7 +209,7 @@ jobs:
209209
matrix:
210210
os: [macos-13]
211211
compiler: [g++]
212-
version: [11, 12, 13]
212+
version: [12, 13, 14]
213213
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
214214
runs-on: ${{ matrix.os }}
215215
steps:

generators/igen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ using namespace std;
1313
int main(int argc, char *argv[]) {
1414
registerGen(argc, argv, 1);
1515

16-
println(rnd.next(1, 1'000'000));
16+
println(rnd.next(1, 1000000));
1717
}

generators/iwgen.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
*
88
* If parameter "weight" > 0 then you can think about it as code like this:
99
* <code>
10-
* result = rnd.next(1, 1'000'000);
10+
* result = rnd.next(1, 1000000);
1111
* for (int i = 0; i < weight; i++)
12-
* result = max(result, rnd.next(1, 1'000'000));
12+
* result = max(result, rnd.next(1, 1000000));
1313
* </code>
1414
*
1515
* If parameter "weight" < 0 then you can think about it as code like this:
1616
* <code>
17-
* result = rnd.next(1, 1'000'000);
17+
* result = rnd.next(1, 1000000);
1818
* for (int i = 0; i < -weight; i++)
19-
* result = min(result, rnd.next(1, 1'000'000));
19+
* result = min(result, rnd.next(1, 1000000));
2020
* </code>
2121
*
2222
* It is typical behaviour of "wnext" methods to use this strategy to
@@ -30,5 +30,5 @@ using namespace std;
3030
int main(int argc, char *argv[]) {
3131
registerGen(argc, argv, 1);
3232

33-
println(rnd.wnext(1, 1'000'000, opt<int>(1)));
33+
println(rnd.wnext(1, 1000000, opt<int>(1)));
3434
}

tests/test-001_run-sval-case-nval/src/case-nval.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int main(int argc, char *argv[]) {
1717

1818
for (int testCase = 1; testCase <= testCaseCount; testCase++) {
1919
setTestCase(testCase);
20-
int n = inf.readInt(1, 10'000, "n");
20+
int n = inf.readInt(1, 10000, "n");
2121
inf.readEoln();
2222
inf.readInts(n, -1000, 1000, "a");
2323
inf.readEoln();

validators/case-nval.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int main(int argc, char *argv[]) {
1717

1818
for (int testCase = 1; testCase <= testCaseCount; testCase++) {
1919
setTestCase(testCase);
20-
int n = inf.readInt(1, 10'000, "n");
20+
int n = inf.readInt(1, 10000, "n");
2121
inf.readEoln();
2222
inf.readInts(n, -1000, 1000, "a");
2323
inf.readEoln();

validators/nval.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ using namespace std;
1111
int main(int argc, char *argv[]) {
1212
registerValidation(argc, argv);
1313

14-
int n = inf.readInt(1, 100'000, "n");
14+
int n = inf.readInt(1, 100000, "n");
1515
inf.readEoln();
1616

17-
inf.readLongs(n, -1'000'000'000LL * 1'000'000LL, 1'000'000'000LL * 1'000'000LL, "a");
17+
inf.readLongs(n, -1000000000LL * 1000000LL, 1000000000LL * 1000000LL, "a");
1818
inf.readEoln();
1919

2020
inf.readEof();

validators/undirected-graph-validator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int main(int argc, char *argv[]) {
99

1010
int n = inf.readInt(1, 1000, "n");
1111
inf.readSpace();
12-
int m = inf.readInt(0, 100'000, "m");
12+
int m = inf.readInt(0, 100000, "m");
1313
inf.readEoln();
1414

1515
set<pair<int, int>> edges;

validators/undirected-tree-validator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bool merge(vector<int> &dsu, int a, int b) {
2626
int main(int argc, char *argv[]) {
2727
registerValidation(argc, argv);
2828

29-
int n = inf.readInt(2, 100'000, "n");
29+
int n = inf.readInt(2, 100000, "n");
3030
inf.readEoln();
3131

3232
vector<int> dsu(n);

0 commit comments

Comments
 (0)