結果

問題 No.8075 114101097100032118101114116105099097108108121
ユーザー pockyny
提出日時 2021-04-01 20:53:02
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 273 bytes
コンパイル時間 546 ms
コンパイル使用メモリ 66,700 KB
最終ジャッジ日時 2025-01-20 06:02:17
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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);
    cout << s << endl;
}
0