結果
| 問題 |
No.2599 Summer Project
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-12 21:23:32 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 555 bytes |
| コンパイル時間 | 3,268 ms |
| コンパイル使用メモリ | 164,212 KB |
| 最終ジャッジ日時 | 2025-02-18 17:36:17 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <map>
#include <set>
#include <queue>
#include <iomanip>
#include <cstring>
#include <stack>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
typedef long long ll;
#define rep(i,n) for (int i = 0; i < int(n);i++)
int main(){
set<string> st;
st.insert("watermelon");
st.insert("beachball");
st.insert("shrinebell");
string s,t;
cin >> s >> t;
st.erase(s);
st.erase(t);
cout << *st.begin() << endl;
return 0;
}