結果

問題 No.8075 114101097100032118101114116105099097108108121
ユーザー pockyny
提出日時 2021-04-01 20:53:48
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 329 bytes
コンパイル時間 537 ms
コンパイル使用メモリ 66,716 KB
最終ジャッジ日時 2025-01-20 06:03:24
ジャッジサーバーID
(参考情報)
judge5 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 RE * 4
権限があれば一括ダウンロードができます

ソースコード

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);
    cout << s << endl;
}
0