結果

問題 No.2098 [Cherry Alpha *] Introduction
ユーザー ooaiu
提出日時 2025-09-10 15:23:20
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 571 bytes
コンパイル時間 2,810 ms
コンパイル使用メモリ 275,184 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-09-10 15:23:25
合計ジャッジ時間 3,882 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
    std::ios_base::sync_with_stdio(false);
    std::cin.tie(nullptr);
    char A;
    cin >> A;
    switch (A) {
        case 'Z': {
            cout << "1st\n";
            break;
        }
        case 'B': {
            cout << "2nd\n";
            break;
        }
        case 'S': {
            cout << "3rd\n";
            break;
        }
        case 'E': {
            cout << "4th\n";
            break;
        }
        case 'D': {
            cout << "Alpha\n";
            break;
        }
    }
}
0