結果
問題 |
No.2098 [Cherry Alpha *] Introduction
|
ユーザー |
|
提出日時 | 2024-08-24 14:43:40 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 318 bytes |
コンパイル時間 | 1,824 ms |
コンパイル使用メモリ | 193,964 KB |
最終ジャッジ日時 | 2025-02-24 00:36:43 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }