結果
| 問題 | 
                            No.2599 Summer Project
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Today03
                         | 
                    
| 提出日時 | 2024-01-13 17:50:39 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 386 bytes | 
| コンパイル時間 | 2,056 ms | 
| コンパイル使用メモリ | 196,764 KB | 
| 最終ジャッジ日時 | 2025-02-18 19:44:41 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 4 | 
ソースコード
#include <bits/stdc++.h>
#ifdef LOCAL
#include "./debug.cpp"
#else
#define debug(...)
#define print_line
#endif
using namespace std;
using ll = long long;
int main() {
	vector<string> str = {"watermelon", "beachball", "shrinebell"};
	string s, t;
	cin >> s >> t;
	str.erase(find(str.begin(), str.end(), s));
	str.erase(find(str.begin(), str.end(), t));
	cout << str.front() << endl;
}
            
            
            
        
            
Today03