結果
| 問題 | No.1504 ヌメロニム |
| コンテスト | |
| ユーザー |
やむなく
|
| 提出日時 | 2020-12-13 17:50:53 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 393 bytes |
| 記録 | |
| コンパイル時間 | 7,131 ms |
| コンパイル使用メモリ | 338,032 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-06-15 22:57:13 |
| 合計ジャッジ時間 | 9,266 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 61 |
ソースコード
//
// validator (tester)
//
#include <bits/stdc++.h>
#include "testlib.h"
using namespace std;
const int MIN_N = 2;
const int MAX_N = 300000;
int main() {
registerValidation();
int n = inf.readInt(MIN_N, MAX_N);
inf.readEoln();
string s = inf.readString();
ensure(s.size() == n);
for (char c : s) ensure(c == 'i' || c == 'n');
inf.readEof();
return 0;
}
やむなく