Skip to content

Commit a4a1984

Browse files
authored
Merge pull request #1359 from NachiaVivias/fix_ce_bedgecol
CI エラー修正
2 parents 8f4a54c + 8e8f578 commit a4a1984

11 files changed

Lines changed: 20 additions & 11 deletions

File tree

convolution/mul_mod2n_convolution/info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/728"
2323

2424
[[solutions]]
2525
name = "naive.cpp"
26-
expect = "TLE"
26+
expect = "RE"
2727

2828
[params]
2929
N_MAX = 20

geo/furthest_pair/info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/837"
5252

5353
[[solutions]]
5454
name = "uso_caliper.cpp"
55-
wrong = true
55+
expect = "WA"
5656

5757
[[solutions]]
5858
name = "naive.cpp"

graph/bipartite_edge_coloring/sol/correct.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ std::vector<int> solve(int L,int R,int M,int a[],int b[]) {
303303

304304
std::mt19937 mt;
305305

306+
/*
307+
// causion : The function below uses variable-length
308+
// arrays, which are compiler-dependent.
306309
void gen() {
307310
int L=100000;
308311
int R=100000;
@@ -337,12 +340,15 @@ void verify() {
337340
printf("time %lf[ms]\n", time);
338341
}
339342
}
343+
*/
344+
345+
const int MAX_M = 100000;
340346

341347
void solve() {
342348
int L,R,M;
343349
scanf("%d%d%d",&L,&R,&M);
344-
int a[M];
345-
int b[M];
350+
int a[MAX_M];
351+
int b[MAX_M];
346352
for (int i=0;i<M;++i) {
347353
scanf("%d%d\n",&a[i],&b[i]);
348354
}

graph/cycle_detection/info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/534"
2323

2424
[[solutions]]
2525
name = 'source_zero.cpp'
26-
expect = "TLE"
26+
expect = "WA"
2727

2828
[params]
2929
N_MIN = 2

graph/enumerate_cliques/info.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/820"
3232

3333
[[solutions]]
3434
name = 'naive.cpp'
35-
expect = "TLE"
35+
expect = "WA"
36+
allow_tle = true
3637

3738
[params]
3839
N_MIN = 1

graph/enumerate_triangles/info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/442"
2929

3030
[[solutions]]
3131
name = 'naive.cpp'
32-
expect = "WA"
32+
allow_tle = true
3333
[[solutions]]
3434
name = 'correct_slow.cpp'
3535
[[solutions]]

polynomial/composition_of_formal_power_series_large/info.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/1112"
3232
allow_re = true
3333
[[solutions]]
3434
name = "wa.cpp"
35-
expect = "WA"
35+
expect = "RE"
36+
allow_tle = true
3637

3738
[params]
3839
N_MAX = 131_072

polynomial/pow_of_formal_power_series/info.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/386"
4242
[[solutions]]
4343
name = "wa_overflow.cpp"
4444
expect = "WA"
45+
allow_tle = true
4546

4647
[params]
4748
N_MAX = 500000

string/wildcard_pattern_matching/sol/bruteforce.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <string>
22
#include <iostream>
33

4-
static char buf[1 << 19];
4+
static char buf[(1 << 19) + 1];
55
std::string scan()
66
{
77
scanf("%s", buf);

string/wildcard_pattern_matching/sol/correct.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ namespace atcoder
10651065

10661066
using ll = long long;
10671067

1068-
static char buf[1 << 19];
1068+
static char buf[(1 << 19) + 1];
10691069
std::string scan()
10701070
{
10711071
scanf("%s", buf);

0 commit comments

Comments
 (0)