結果

問題 No.2098 [Cherry Alpha *] Introduction
ユーザー LV3zJigVW57oPGy
提出日時 2022-11-02 16:05:15
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 495 bytes
コンパイル時間 1,229 ms
コンパイル使用メモリ 160,064 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-17 05:14:47
合計ジャッジ時間 1,854 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#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<<"2nd";
  }
  else if((a=="Stray")&& (b=="Bullet")){
    cout <<"3rd";
  }
  else if((a=="Early")&&(b=="Summer")&&(c=="kain")){
   cout <<"4th";
  }
  else{
    cout <<"Alpha";
  }
}
0