結果

問題 No.3075 114101097100032118101114116105099097108108121
ユーザー pockynypockyny
提出日時 2021-04-01 20:54:32
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
RE  
実行時間 -
コード長 387 bytes
コンパイル時間 511 ms
コンパイル使用メモリ 67,772 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-23 04:46:02
合計ジャッジ時間 1,694 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 2 ms
4,380 KB
testcase_02 RE -
testcase_03 AC 2 ms
4,380 KB
testcase_04 RE -
testcase_05 AC 1 ms
4,376 KB
testcase_06 RE -
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>

using namespace std;
int main(){
    string s; cin >> s;
    int i,n;
    for(i=0;i<5;i++){
        s[i] = toupper(s[i]);
    }
    //if(s.size()>6) exit(1);
    if(s[0]!='I') exit(1);
    if(s[1]!='N') exit(1);
    if(s[2]!='P') exit(1);
    if(s[3]!='U') exit(1);
    if(s[4]!='T') exit(1);
    cout << "INPUT" << endl;
    //cout << s << endl;
}
0