結果
問題 |
No.2098 [Cherry Alpha *] Introduction
|
ユーザー |
👑 ![]() |
提出日時 | 2022-07-01 03:14:23 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 319 bytes |
コンパイル時間 | 2,123 ms |
コンパイル使用メモリ | 193,568 KB |
最終ジャッジ日時 | 2025-01-30 02:09:02 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ string S0; cin >> S0; if (S0[0]=='Z') cout << "1st" << endl; if (S0[0]=='B') cout << "2nd" << endl; if (S0[0]=='S') cout << "3rd" << endl; if (S0[0]=='E') cout << "4th" << endl; if (S0[0]=='D') cout << "Alpha" << endl; return 0; }