結果
| 問題 | No.2650 [Cherry 6th Tune *] セイジャク |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-07-26 01:58:43 |
| 言語 | cLay (20241019-1 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 652 ms / 2,500 ms |
| コード長 | 413 bytes |
| 記録 | |
| コンパイル時間 | 5,207 ms |
| コンパイル使用メモリ | 185,692 KB |
| 実行使用メモリ | 33,536 KB |
| 最終ジャッジ日時 | 2024-11-15 04:30:40 |
| 合計ジャッジ時間 | 21,147 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 31 |
ソースコード
#define V {return x;}
ll segtree_rh_merge(ll x,ll y)V;ll segtree_rh_apply(ll x,ll y)V;ll segtree_rh_compose(ll x,ll y)V;{ll@N,@o,@X[N],@T,@W[T*2],M=548;map<ll,ll>Z;rep[X](x,N)Z[x];rep[W](w,T*2)Z[w];ll s=0;for(auto i=Z.begin(),e=Z.end();i!=e;i++)i->second=s++;rep[X](x,N)x=Z[x];rep[W](w,T*2)w=Z[w];segtree_rh<ll,ll>A;A.malloc(s);A.setN(s,0,0);rep(t,T)A.change(W[t*2],W[t*2+1]+1,t+2);rep[X](x,N)wt(A.get(x,x+1)-1);}