Home
Language
English
Türkçe
Bahasa Indonesia
About
Privacy Policy
Terms of Service
Pricing
Sign In
Download All
Share
cunitac
@cunitac
AtCoder Algorithm 初段 Heuristic 2100↑ / PAST 上級 / Rustacean / アイコン いとかさん / だいがく
Joined August 2018
129
Following
214
Followers
4.7K
Posts
cunitac
@cunitac
almost 3 years ago
バーチャル参加中に諦めて解説を読むならバーチャル参加をするなというのが正しいかも
cunitac
@cunitac
almost 3 years ago
バーチャル参加中に諦めて解説読んでバーチャル参加時間中に実装が終わってしまうとちょっと困るな 解説を読んで実装して提出することはお控えろとは言われていないのでそれでもいいのだけど 気分的に
cunitac
@cunitac
almost 3 years ago
https://t.co/DsFBRoCxYu
cunitac's tweet gif.
TERRY
@terry_u16
almost 3 years ago
誰かテストケース捏造して弊社ロゴを描いてください。後は頼んだ……
cunitac
@cunitac
almost 3 years ago
#AHC021
?
Who to follow
US_cube
@US_kyopro
atcoder:黄, atcoder: https://t.co/RM5JXLqZ3j library: https://t.co/wm5siCr4d7 hatenablog: https://t.co/YNFHa6MokR
takumi152🌸🎵
@takumi152
ミクさんの姿をしています / ぬいぐるみ勢 / AtCoder Algorithm青, Heuristic赤 / 焼きなマシーン / ほんもの→@takumi152
いちご
@itigo_purokonn
最適化しかしとらん
cunitac
@cunitac
about 3 years ago
コンテスト中にそう書いたのでああ書いたが (c[i] == t, c[i] == c[0], r[i]) でいいね(そらそう)
cunitac
@cunitac
about 3 years ago
#ABC299
B: (0..n).max_by_key(|&i| ((c[i] == t, c[i] == c[0]), r[i]))
cunitac
@cunitac
about 3 years ago
これ正しいけど c[i]=t のときに c[i]=c[0] の真偽が一意なのを使ってるの、なんか、なんか、なんか(コンテスト中はこれを考えなかったので (if c[i] == t { 2 } else if c[i] == c[0] { 1 } else {0}, r[i])と書いた)
cunitac
@cunitac
about 3 years ago
極大でないものを採用しないと話にならないんだろうなあ、と思いながら、うまくやる方法がわからず、極大なものだけ考えたほうがシンプルなのでとりあえずそれで解いた 今からなら極大でないものを採用する方針も書ける気がするので、フルで参加すればもうちょっと頑張れたかな〜
cunitac
@cunitac
about 3 years ago
#AHC019
どちらにも配置できるブロックのうち極大なものは全列挙できるので……できるので……何?になってた(極大なものだけから適当に選ぶ焼きなましをした)
cunitac
@cunitac
about 3 years ago
#AHC019
回転、6近傍×24通り埋め込んだ(回転のコードはローカルテスターから引っ張ってきた)
cunitac
@cunitac
about 3 years ago
Silhouette Block Puzzle Creationのseed=0で496,825,397点を獲得!!! https://t.co/839fEdCJUJ
#AHC019
#visualizer
cunitac
@cunitac
about 3 years ago
Silhouette Block Puzzle Creationのseed=0で1,177,777,778点を獲得!!! https://t.co/839fEdCJUJ
#AHC019
#visualizer
cunitac
@cunitac
about 3 years ago
@RheoTommy
実は input!{} でなくて input!() と使うだけでよいです(from, mut があるとダメですが)
cunitac
@cunitac
about 3 years ago
@kuruton456
解説の「つまり,……でも問題ないとわかります.」から最適性がわかるので……、というのが証明になるんですが、もっと直接的な(?)証明は可能で、(i, j) の入れ替えは (i, i+1), (i+1, i+2), ..., (j-1, j) を順に入れ替えることで隣同士の入れ替えだけで実現できますが、毎回改善されません
cunitac
@cunitac
about 3 years ago
@RheoTommy
(これは今見つけたんですが)これですね https://t.co/lr2ivmq16v
cunitac
@cunitac
about 3 years ago
@RheoTommy
最近同じ現象に遭遇したんですが、submit の後に表示されるいろいろが、prettytable というクレートを用いていて、cargo-compete が依存しているバージョンの prettytable は segmentation fault を出すことがある、というのを突き止めました
cunitac
@cunitac
over 3 years ago
match r { 0 => Rect {w, h, d}, 1 => Rect {h, w, d}, まで書いて、あっ……になった
#TOYOTAHC2023SPRING
cunitac
@cunitac
over 3 years ago
@thun_c
ここ読んだのですが、0.5p はパワー p で掘って壊れたときに無駄になってしまうパワー(0 ~ p-1)の平均としてとっているのかな、と解釈しました そうすると「総パワー exp で掘削できるところ、C のせいで無駄になってしまうぶん」という意味で waste っぽさがあるのでしっくりきます
cunitac
@cunitac
over 3 years ago
チーム ABCDGH 202:01 34位 ACDG をしました、D は実験をして G は勘をしました
#TUPC2022
cunitac
@cunitac
over 3 years ago
ユーザ解説に置いといた 頑丈さがわかっているときに厳密解を求める方法
#AHC018
https://t.co/fJBcDAFoHj
cunitac
@cunitac
over 3 years ago
頑丈さがわかっているときに厳密に解くやつ、書いてみたけどあってるかな~(seed=0 で Cost=65809)
#AHC018
cunitac
@cunitac
over 3 years ago
C = 1 にして解いてたみたい、ちょっと違うわ、67275?
Last Seen Users on Sotwe
ยากเย็ด...(คนแก่)
Seen from
Thailand
Re.
Seen from
Indonesia
苏苏爱露出
𝘿𝙞𝙗𝙖𝙡𝙞𝙠 𝙙𝙖𝙨𝙩𝙚𝙧
Seen from
Indonesia
Fayyaz Khan
Seen from
Singapore
石头
Seen from
Japan
𝗠𝘂𝗵𝗲𝗲 ♛
Seen from
United States
bapak lokal
Seen from
Singapore
Cₐₕyₒₙₒ
Seen from
Indonesia
Arab Community
Seen from
United States
Trends for you
1
Clive Davis
Under 10K tweets
2
Michigan
Under 10K tweets
3
Giannis
Under 10K tweets
4
Austria
Under 10K tweets
5
Steam Machine
Under 10K tweets
6
USAID
Under 10K tweets
7
Airbnb
Under 10K tweets
8
Alan Greenspan
Under 10K tweets
9
#ARGAUT
Under 10K tweets
10
Ro Khanna
Under 10K tweets
Most Popular Users
1
Elon Musk
@elonmusk
240.4M followers
2
Barack Obama
@barackobama
119.3M followers
3
Donald J. Trump
@realdonaldtrump
111.7M followers
4
Cristiano Ronaldo
@cristiano
110.1M followers
5
Narendra Modi
@narendramodi
107M followers
6
Rihanna
@rihanna
97.5M followers
7
NASA
@nasa
92.1M followers
8
Justin Bieber
@justinbieber
90.8M followers
9
KATY PERRY
@katyperry
87.4M followers
10
Taylor Swift
@taylorswift13
81.2M followers
11
Lady Gaga
@ladygaga
72.8M followers
12
Kim Kardashian
@kimkardashian
69.7M followers
13
Virat Kohli
@imvkohli
69.5M followers
14
YouTube
@youtube
68.7M followers
15
Bill Gates
@billgates
63.7M followers
16
The Ellen Show
@theellenshow
62.5M followers
17
Neymar Jr
@neymarjr
62.2M followers
18
CNN
@cnn
61.9M followers
19
X
@x
60.8M followers
20
Selena Gomez
@selenagomez
60.5M followers
Olivia
Online
✨
⭐
💫