結果
| 問題 |
No.2098 [Cherry Alpha *] Introduction
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-14 21:26:44 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 1,037 bytes |
| コンパイル時間 | 1,621 ms |
| コンパイル使用メモリ | 168,692 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-26 13:08:41 |
| 合計ジャッジ時間 | 2,612 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
#if !__INCLUDE_LEVEL__
#include __FILE__
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
map<string, string> ans;
ans["Zelkova"] = "1st";
ans["BANNED"] = "2nd";
ans["Stray"] = "3rd";
ans["Early"] = "4th";
ans["Do"] = "Alpha";
string s;
cin >> s;
cout << ans[s] << "\n";
return 0;
}
//====================temp====================
#else
#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define RREP(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define REPITR(itr, ARRAY) \
for (auto itr = (ARRAY).begin(); itr != (ARRAY).end(); ++itr)
#define RREPITR(itr, ARRAY) \
for (auto itr = (ARRAY).rbegin(); itr != (ARRAY).rend(); ++itr)
#define ALL(n) (n).begin(), (n).end()
using ll = long long;
using ull = unsigned long long;
//#define int long long
template<typename T> struct edge {
int to;
T cost;
edge() {}
edge(int to, T cost): to(to), cost(cost) {}
};
#endif