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