結果
問題 |
No.2098 [Cherry Alpha *] Introduction
|
ユーザー |
|
提出日時 | 2022-10-23 21:15:09 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 203 bytes |
コンパイル時間 | 868 ms |
コンパイル使用メモリ | 66,828 KB |
最終ジャッジ日時 | 2025-02-08 11:51:04 |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include<iostream> #include<string> using namespace std; int main() { string s;cin>>s; cout<<(s[0]=='Z'?"1st":(s[0]=='B'?"2nd":(s[0]=='S'?"3rd":(s[0]=='E'?"4th":"Alpha"))))<<'\n'; return 0; }