結果
| 問題 | No.2762 Counting and Deleting |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-05-08 22:38:38 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 481 bytes |
| 記録 | |
| コンパイル時間 | 2,939 ms |
| コンパイル使用メモリ | 273,288 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-04 16:53:28 |
| 合計ジャッジ時間 | 4,159 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 15 |
ソースコード
#include<bits/stdc++.h>
#include<atcoder/all>
#define rep(i,n) for(int i=0;i<n;i++)
using namespace std;
using mint = atcoder::modint998244353;
int main(){
int n, q;
cin >> n >> q;
assert(1 <= n && n <= 60000);
assert(1 <= n && q <= 60000);
string s;
cin >> s;
assert(int(s.size()) == n);
rep(i, n){
assert(s[i] == '0' || s[i] == '1');
}
rep(i, q){
int t, l, r;
cin >> t >> l >> r;
assert(t == 1 || t == 2);
assert(1 <= l && l <= r && r <= n);
}
return 0;
}