結果
問題 | No.2098 [Cherry Alpha *] Introduction |
ユーザー |
![]() |
提出日時 | 2022-10-14 21:26:01 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 445 bytes |
コンパイル時間 | 759 ms |
コンパイル使用メモリ | 95,908 KB |
最終ジャッジ日時 | 2025-02-08 03:24:58 |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include <iostream> #include <cstdio> #include <algorithm> #include <string> #include <vector> #include <queue> #include <set> #include <numeric> #include <cmath> #define ll long long using namespace std; // link : // category : int main() { string s; cin>>s; if(s[0]=='Z') cout<<"1st"; if(s[0]=='B') cout<<"2nd"; if(s[0]=='S') cout<<"3rd"; if(s[0]=='E') cout<<"4th"; if(s[0]=='D') cout<<"Alpha"; return 0; }