結果
問題 |
No.3114 0→1
|
ユーザー |
|
提出日時 | 2025-04-16 00:03:10 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 450 bytes |
コンパイル時間 | 14,847 ms |
コンパイル使用メモリ | 350,356 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-04-16 00:05:00 |
合計ジャッジ時間 | 13,615 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 30 |
ソースコード
#include "testlib.h" #include <bits/stdc++.h> using namespace std; using ll = long long; const ll min_n = 1; const ll max_n = 200'000; const string contain_s = "01"; int main(){ registerValidation(); ll n = inf.readLong(min_n, max_n); inf.readEoln(); string s = inf.readString(); inf.readEof(); assert((int)s.size() == n); for (int i = 0; i < n; i++) { assert(contain_s.find(s[i]) != string::npos); } }