結果
| 問題 |
No.2098 [Cherry Alpha *] Introduction
|
| コンテスト | |
| ユーザー |
kpinkcat
|
| 提出日時 | 2023-07-09 02:32:27 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 13 ms / 2,000 ms |
| コード長 | 584 bytes |
| コンパイル時間 | 1,256 ms |
| コンパイル使用メモリ | 114,452 KB |
| 最終ジャッジ日時 | 2025-02-15 09:16:28 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
#include<iostream>
#include<string>
#include<algorithm>
#include<cctype>
#include<set>
#include<bitset>
#include<math.h>
#include<map>
#include<queue>
#include <iomanip>
using namespace std;
int main(){
map<string, string> title;
title["Zelkova and Cherry"] = "1st";
title["BANNED CONTEST"] = "2nd";
title["Stray Bullet"] = "3rd";
title["Early Summer Rain"] = "4th";
title["Do you know Cherry Contest?"] = "Alpha";
string s;
getline(cin, s); //スペースで区切られていても全ての入力を取得する。
cout << title[s] << endl;
}
kpinkcat