結果
問題 |
No.2098 [Cherry Alpha *] Introduction
|
ユーザー |
|
提出日時 | 2022-12-16 17:40:40 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 592 bytes |
コンパイル時間 | 417 ms |
コンパイル使用メモリ | 55,260 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-15 22:34:57 |
合計ジャッジ時間 | 1,118 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include <iostream> #include <string> using namespace std; int main() { string s; getline(cin, s); if (s == "Zelkova and Cherry") { cout << "1st" << endl; return 0; } if (s == "BANNED CONTEST") { cout << "2nd" << endl; return 0; } if (s == "Stray Bullet") { cout << "3rd" << endl; return 0; } if (s == "Early Summer Rain") { cout << "4th" << endl; return 0; } if (s == "Do you know Cherry Contest?") { cout << "Alpha" << endl; return 0; } }