結果
| 問題 |
No.2098 [Cherry Alpha *] Introduction
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-14 21:59:13 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 2,657 bytes |
| コンパイル時間 | 2,104 ms |
| コンパイル使用メモリ | 177,444 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-26 13:57:12 |
| 合計ジャッジ時間 | 2,283 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 13 |
ソースコード
// Any extra templates used credit to https://github.com/nealwu/competitive-programming
/**************************************************************************************/
/* FADE THE FUCK IN */
/************************************************************************************/
using namespace std;
#include "bits/stdc++.h"
/**********************DEFINES*********************************/
#define nline "\n"
#define all(v) v.begin(), v.end()
#define int int64_t // comment when using temp.
/*************************************************************/
const int MOD = 1e9 + 7; // comment when using temp.
const int MD = 998244353;
/*************************************************************/
template <typename T>
inline istream &operator>>(istream& in, vector<T>& a);
template <typename T>
inline ostream &operator<<(ostream& os, const vector<T>& a);
template<typename T, typename S>
inline istream &operator>>(istream& in, pair<T, S>& a);
template<typename T, typename S>
inline ostream &operator<<(ostream& os, pair<T, S>& a);
/*************************************************************/
#ifdef DEBUG
#define debug(args...) {dbg,args; cerr<<endl;}
#else
#define debug(args...) // Just strip off all debug tokens
#endif
struct debugger
{
template<typename T> debugger& operator , (const T& v)
{
cerr << v << " ";
return *this;
}
} dbg;
int dx[4] = { -1, 1, 0, 0};
int dy[4] = {0, 0, -1, 1};
void run_case(int tt) {
string str;
cin >> str;
map<string, string> mp = {{"Zelkova and Cherry", "1st"}, {"BANNED CONTEST", "2nd"}, {"Stray Bullet", "3rd"},
{"Early Summer Rain", "4th"}, {"Do you know Cherry Contest?", "Alpha"}
};
cout << mp[str] << "\n";
return;
}
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int test_cases = 1;
// cin >> test_cases;
for (int t = 1; t <= test_cases; t++) {
run_case(t);
}
}
/********************************I/O****************************************/
template <typename T>
inline istream &operator>>(istream & in, vector<T>& a) {
for (auto &x : a)in >> x;
return in;
}
template <typename T>
inline ostream &operator<<(ostream & os, const vector<T>& a) {
for (auto &x : a)os << x << " ";
os << nline;
return os;
}
template<typename T, typename S>
inline istream &operator>>(istream & in, pair<T, S>& a) {
in >> a.first >> a.second;
return in;
}
template<typename T, typename S>
inline ostream &operator<<(ostream & os, pair<T, S>& a) {
os << a.first << " " << a.second << nline;
return os;
}
/*************************************************************************/