結果

問題 No.2098 [Cherry Alpha *] Introduction
ユーザー Saumel VermaSaumel Verma
提出日時 2022-10-14 21:59:13
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 2,657 bytes
コンパイル時間 1,858 ms
コンパイル使用メモリ 175,356 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-09-08 21:10:32
合計ジャッジ時間 2,650 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

// 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;
}
/*************************************************************************/
0