さはら (@shr_pc) profile picture

貪欲から逃げない / heuristic competitive programming, AtCoder highest 3350+ / main: @shr_id / ex-{rogy, traP}

本郷キャンパスの植え込み
Joined March 2019
Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)Photo by さはら (@shr_pc)
さはら retweeted
まもなくはじまります
【AHC074解説放送予定のお知らせ】 コンテスト終了後に解説放送を予定しています。 ぜひご覧ください。 HACK TO THE FUTURE 2027 (AtCoder Heuristic Contest 074)解説 開始日時:2026-11-09(月)19:30 youtube.com/live/yHLw24rNAqA…
1
6
2,874
さはら retweeted
#AHC074 暫定3位! 64bitを下位30bitの持ち手部と上位34bitのデータ部に分割する 商品をペアにまとめ、複数のペアで使用できる背景シートを白黒作成しK枚に収める 各ターンでは返却・再利用しつつ、ペア・背景を前に出す 補助シートで持ち手のbitを複数一気に合わせ、残りを1bitずつ合わせる
4
45
1,563
#AHC071 | 1,590,489 pts | Top 3 Basic SA: The state represents which bricks of size >1 are added. Size=1 bricks are determined in a single top-to-bottom pass in O(H) using bitmasks. Transitions include adding, removing, replacing, or shifting a single brick.
6
1
35
1,616
さはら retweeted
#AHC070 2nd place \o/ I used beam search. The evaluation function is (sum of d_t for the processed cells) + (sum of 0.9993^t d_t for the remaining cells). The three vectors are chosen randomly, making sure that all cells are reachable.
1
5
1
52
6,279
さはら retweeted
tester 解: 全マス巡回できる位置関係 (a, b), (c, d) を選んで (2a, 2b) を追加すると、訪問しなくてよいマスを飛ばせる。飛ばす基準を調整したり、各マスについて「一周目に訪問したい」「二周目に訪問したい」「訪問しなくてもよい」を焼いたりしました。たぶん730Mぐらい #AHC070
7
3
42
3,404
さはら retweeted
ポケカコンペのSolutionです! 2年半ぶりにKaggleコンペに参加してました。 ドメインも面白く、めっちゃ盛り上がっていて運営の方々の対応も素晴らしく最高のコンペでした!チームメンバーも最強でした: 213tubo @zaburo_ch @shr_pc 現在8位、Strategy部門決勝圏内なので頼む…🙏 kaggle.com/competitions/poke…
2
9
2
192
14,110
さはら retweeted
あと公式ビジュアライザが難しかったので fable にビジュアライザつくってもらいました、占有率グラフとかρの受け入れ拒否可視化とか高さによる退去時刻可視化とかまあまあよかったと思う(比較的高さが揃っているのがわかる)
2
1
9
700
さはら retweeted
#AHC069 暫定2位!約49.45B 方針 : 仮想的なマス単価による受け入れ判定 + 配置候補を大量に探索する貪欲 ↓ 概要
2
7
1
61
3,279
さはら retweeted
AHC069 暫定優勝✌ 貪欲法と焼きなまし グループと空き地を介した連結成分内からいくつかのグループを削除して置きなおす貪欲が強い 実行時間さえ伸ばせば伸びるので、高速化と探索効率の改善と枝狩りをLLMに頑張らせる LLMが強かった seed0: 68133051
1
9
111
3,577
さはら retweeted
Replying to @wata_orz
In the following configuration, the outputs are 0.524288000, 0.262144000, 0.048576000, etc. Because the input values are rounded to 6 decimal digits, we can then solve the problem up to a precision of 10^-6 and get an exact solution.
10
1
69
17,970
さはら retweeted
コンテスト中OpenAIがスコア2000切ってスゲーって言ってたのにスコア2って何w 見た目的にはコンテスト中にShunPIさんとRafbillさんがやっていた解法の延長っぽい?このタイプの解答はAIは一度も提出していませんでした
1
28
4
136
36,826
さはら retweeted
昨年のAWTF Heuristicにて延長戦でぶっちぎったRafibllさんが今年も延長戦でT大においてOpenAIを遥かに上回る解答に到達している!?実は10日間あれば人類が勝っていたのかも。 まだまだ人間は必要かもしれません。 atcoder.jp/contests/awtf2026… (カスタマイズ→全ユーザーを表示)
4
29
1
135
14,867
さはら retweeted
Congratulations to @Shun___PI and to all of the remaining finalists: @MathGorilla_cp @yosupot @eijirou_kyopro @asi1024 @terry_u16 @montplusa @yokozuna_57 @shr_pc @bowwowforeach @rho__o nika @Rafbill_pc No matter what the performance OpenAI had, they still competed against each other. This was also the longest onsite contest I have ever witnessed and they all deserve huge respect. We still have to wait for the system tests to finish, but I think it's safe to say the that winner can feel quite comfortable.
6
18
220
12,290
さはら retweeted
お土産を頂いたんですが、これは何ですか?
1
15
159
10,534
さはら retweeted
強いマクロ、グラフを小さくするから訪問順を固定してもだいたい正しい評価になるのだろうか(毎回 TSP を解いてた)
1
5
725
Sを最初や末尾に置くのは分かるけど、「ボールを取ったら途中置き禁止」と仮定するとめちゃくちゃ行動空間狭くなって悪化するんですね 途中置き有りにするなら焼くのは無理でビームしかないとは思ったけど盤面ぐちゃぐちゃになって制御できなさそうって思った(ここ直感で方針を捨てるいつもの悪い癖)
1
10
1,294
#AHC066 AHC066 暫定4位でした。 基本方針 ・まずマクロ "FF" または "FFF" の状態を作ってから、先頭と末尾がSのマクロを1つ登録する。 ・登録するマクロを訪問順固定DPで評価したのち、スコア上位マクロをtspで再評価 ・マクロはChokudai Searchで探索 シード1: Score 122
1
4
1
51
2,660
さはら retweeted
#AHC066 暫定1位! 次の一手(F/L/R/S/P/P_M)を探索するビームサーチ P_Mでは過去のある操作列をマクロ化したことにしてそれを使用する (座標、向き、ボールを保持しているか)でビームを分けて管理
19
3
107
6,290
さはら retweeted
#AHC066 seed=0: Score = 258
2
5
28
2,060
さはら retweeted
勝ちました
3
24
1,822