結果
問題 |
No.2098 [Cherry Alpha *] Introduction
|
ユーザー |
![]() |
提出日時 | 2022-11-01 07:41:18 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 423 bytes |
コンパイル時間 | 1,579 ms |
コンパイル使用メモリ | 175,720 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-16 03:29:22 |
合計ジャッジ時間 | 2,307 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string S; getline( cin, S ); string ans; vector<vector<string>> t{ {"Zelkova and Cherry", "1st"}, {"BANNED CONTEST", "2nd"}, {"Stray Bullet", "3rd"}, {"Early Summer Rain", "4th"}, {"Do you know Cherry Contest?", "Alpha"} }; for( int i = 0; i < (int)t.size(); i++ ) { if( S == t[i][0 ] ) { ans = t[i][1]; break; } } cout << ans << endl; }