AtCoder Grand Contest 045 + Codeforces Round #648 (Div. 2)
AtCoder Grand Contest 045 - AtCoder:
https://atcoder.jp/contests/agc045
Dashboard - Codeforces Round #648 (Div. 2) - Codeforces:
続きを読む
- masashinakata
- 7711
- 2
- 0
- 0
熨斗袋
@noshi91
xor の掃き出しすごい簡単に出来るんですね vector<int> basis; for(int e : a){ for(int b : basis) chmin(e, e ^ b); if(e) basis.push_back(e); } これで数列 a の基底が basis に入る
2019-11-30 18:05:06
熨斗袋
@noshi91
@tsutaj vector<int> base; for (int e : a) { for (int b : base) chmin(e, e ^ b); if (e != 0) base.push_back(e); } はどうでしょうか
2020-03-10 22:19:04
Rubikun
@Rubikun_pro
Topcoder赤になる→赤じゃなくなる→Codeforces赤になる→赤じゃなくなる→??? AtCoder橙になる流れ来てるねえ
2020-06-05 14:11:24
おーじ!w
@asdf1____
こどふぉ、あと30分でも早かったら出るんだけどな… さすがに遅すぎる AGCとこどふぉを両方出る体力はないし、今週は気楽に潜伏かな
2020-06-07 18:53:38
のいみ
@noimi_kyopro
AGC成功したらコドフォなんて出ないでAGCの話得意顔でしまくるつもりだし失敗したらTL見たくないので無言でdiv2でるつもりです
2020-06-07 18:55:21