結果
問題 |
No.2098 [Cherry Alpha *] Introduction
|
ユーザー |
![]() |
提出日時 | 2022-11-02 16:04:04 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 496 bytes |
コンパイル時間 | 1,716 ms |
コンパイル使用メモリ | 158,924 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-17 05:14:08 |
合計ジャッジ時間 | 2,083 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; #include <ios> #include <iomanip> #include <iostream> #include <string> #include <algorithm> int main(){ string a,b,c; cin >>a>>b>>c; if((a=="Zelkova")&&(b== "and")&&(c== "Cherry")){ cout <<"1st"; } else if((a=="BANNED") && (b=="CONTEST")){ cout<<"2st"; } else if((a=="Stray")&& (b=="Bullet")){ cout <<"3st"; } else if((a=="Early")&&(b=="Summer")&&(c=="kain")){ cout <<"4st"; } else{ cout <<"Alpha"; } }