結果
| 問題 |
No.2098 [Cherry Alpha *] Introduction
|
| コンテスト | |
| ユーザー |
snow39
|
| 提出日時 | 2022-10-14 21:27:14 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 15 ms / 2,000 ms |
| コード長 | 985 bytes |
| コンパイル時間 | 1,127 ms |
| コンパイル使用メモリ | 104,948 KB |
| 最終ジャッジ日時 | 2025-02-08 03:25:30 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <tuple>
#include <vector>
#define mkp make_pair
#define mkt make_tuple
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define all(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
const ll MOD = 1e9 + 7;
// const ll MOD = 998244353;
template <class T>
void chmin(T &a, const T &b) {
if (a > b) a = b;
}
template <class T>
void chmax(T &a, const T &b) {
if (a < b) a = b;
}
void solve() {
string S;
getline(cin, S);
if (S == "Zelkova and Cherry") {
cout << "1st" << endl;
} else if (S == "BANNED CONTEST") {
cout << "2nd" << endl;
} else if (S == "Stray Bullet") {
cout << "3rd" << endl;
} else if (S == "Early Summer Rain") {
cout << "4th" << endl;
} else {
cout << "Alpha" << endl;
}
}
int main() {
solve();
return 0;
}
snow39