結果

問題 No.2098 [Cherry Alpha *] Introduction
ユーザー 👑 CleyL
提出日時 2022-10-15 01:32:25
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 292 bytes
コンパイル時間 497 ms
コンパイル使用メモリ 67,608 KB
最終ジャッジ日時 2025-02-08 05:51:59
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    string s;cin>>s;
    if(s[0] == 'Z')cout << "1st" << endl;
    else if(s[0] == 'B')cout << "2nd" << endl;
    else if(s[0] == 'S')cout << "3rd" << endl;
    else if(s[0] == 'E')cout << "4th" << endl;
    else cout << "Alpha" << endl;
}
0