結果
| 問題 | No.2650 [Cherry 6th Tune *] セイジャク |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-07-26 01:58:43 |
| 言語 | cLay (20250308-1 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 420 ms / 2,500 ms |
| コード長 | 413 bytes |
| 記録 | |
| コンパイル時間 | 4,595 ms |
| コンパイル使用メモリ | 202,564 KB |
| 実行使用メモリ | 33,792 KB |
| 最終ジャッジ日時 | 2026-05-10 07:35:59 |
| 合計ジャッジ時間 | 16,876 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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);}