結果

問題 No.2098 [Cherry Alpha *] Introduction
ユーザー srjywrdnprkt
提出日時 2023-06-11 02:50:54
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 477 bytes
コンパイル時間 1,092 ms
コンパイル使用メモリ 112,092 KB
最終ジャッジ日時 2025-02-14 01:28:04
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <cmath>
#include <map>
#include <set>
#include <iomanip>
#include <queue>
#include <algorithm>
#include <numeric>
#include <deque>
#include <complex>
#include <cassert>

using namespace std;
using ll = long long;

int main(){

    char c;
    map<char, string> mp;
    mp['Z'] = "1st";
    mp['B'] = "2nd";
    mp['S'] = "3rd";
    mp['E'] = "4th";
    mp['D'] = "Alpha";
    cin >> c;
    cout << mp[c] << endl;

    return 0;
}
0