結果
問題 | No.2049 POP |
ユーザー |
|
提出日時 | 2022-08-21 03:49:11 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 500 bytes |
コンパイル時間 | 9,209 ms |
コンパイル使用メモリ | 337,540 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-10 05:16:45 |
合計ジャッジ時間 | 9,910 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 10 |
ソースコード
#include "testlib.h"#include <bits/stdc++.h>using namespace std;int main(int argc, char* argv[]){registerValidation(argc, argv);ios::sync_with_stdio(false);cin.tie(nullptr);// int n=inf.readInt(3,100);inf.readEoln();string s=inf.readToken();inf.readEoln();ensuref(1<=s.size() && s.size()<=100,"invalid |S|");for(auto &nx : s){ensuref('a'<=nx && nx<='z',"invalid char");}inf.readEof();for(int i=1;i<s.size()-1;i++){cout << s[i];}cout << "\n";return 0;}