結果
| 問題 |
No.8060 サンプルケース至上主義
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-02 15:44:08 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 582 bytes |
| コンパイル時間 | 1,497 ms |
| コンパイル使用メモリ | 166,028 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 15:05:12 |
| 合計ジャッジ時間 | 1,969 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 WA * 1 |
コンパイルメッセージ
main.cpp:26:19: warning: multi-character character constant [-Wmultichar]
26 | else if(s[0]=='く'){
| ^~~~
ソースコード
#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;
}
}