結果
問題 | No.2762 Counting and Deleting |
ユーザー |
👑 |
提出日時 | 2024-05-08 22:38:38 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 481 bytes |
コンパイル時間 | 3,862 ms |
コンパイル使用メモリ | 251,368 KB |
最終ジャッジ日時 | 2025-02-21 11:49:35 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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;}