結果

問題 No.3060 サンプルケース至上主義
ユーザー minimamu21minimamu21
提出日時 2020-04-02 15:44:08
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 582 bytes
コンパイル時間 1,650 ms
コンパイル使用メモリ 164,016 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-11 00:27:56
合計ジャッジ時間 2,117 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 1 ms
4,376 KB
testcase_04 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:26:19: 警告: 複数文字からなる文字定数 [-Wmultichar]
   26 |     else if(s[0]=='く'){
      |                   ^~~~

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
    string s;
    cin>>s;
    if(s[0]=='0'){
        cout<<"Nothing"<<endl;
    }
    else if(s[0]=='3'){
        cout<<"pi"<<endl;
    }
    else if(s[0]=='1'){
        cout<<"九蓮宝燈"<<endl;
        cout<<"Thirteen Orphans"<<endl;
    }
    else if(s[0]=='A'){
        cout<<3<<endl;
        cout<<4<<endl;
        cout<<4<<endl;
        cout<<3<<endl;
        cout<<6<<endl;
        cout<<2<<endl;
        cout<<2<<endl;
    }
    else if(s[0]=='く'){
        cout<<"さmpぇ"<<endl;
    }
}
0