結果

問題 No.5012 Better Mo's Algorithm is Needed!! (Execute)
ユーザー butsurizuki
提出日時 2022-12-13 15:24:17
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 34 ms / 500 ms
コード長 372 bytes
コンパイル時間 3,072 ms
実行使用メモリ 6,952 KB
スコア 20,000,000,001,559,290
最終ジャッジ日時 2022-12-13 20:44:43
合計ジャッジ時間 178,670 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 99
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;

int main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int n,q;
  cin >> n >> q;
  vector<int> a(n);
  for(int i=0;i<n;i++){cin >> a[i];}
  vector<int> l(q),r(q);
  for(int i=0;i<q;i++){
    cin >> l[i] >> r[i];
  }
  
  for(int i=0;i<q;i++){
    if(i){cout << " ";}
    cout << i+1;
  }cout << "\n";
  return 0;
}
0