結果

問題 No.3110 Like CPCTF?
ユーザー ponjuice
提出日時 2025-04-09 23:19:24
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 388 bytes
コンパイル時間 8,211 ms
コンパイル使用メモリ 351,192 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-18 19:30:50
合計ジャッジ時間 8,940 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;

const int min_n = 1;
const int max_n = 30;

int main(){
    registerValidation();

    int n = inf.readInt(min_n, max_n);
    inf.readEoln();
    
    string s = inf.readString();
    assert((int)s.size() == n);
    for(auto c: s){
        assert('A' <= c && c <= 'Z');
    }

    inf.readEof();
}
0