結果
| 問題 |
No.2599 Summer Project
|
| コンテスト | |
| ユーザー |
ゆにぽけ
|
| 提出日時 | 2024-01-12 21:21:30 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 783 bytes |
| コンパイル時間 | 1,476 ms |
| コンパイル使用メモリ | 130,904 KB |
| 最終ジャッジ日時 | 2025-02-18 17:32:19 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <array>
#include <iterator>
#include <string>
#include <cctype>
#include <cstring>
#include <cstdlib>
#include <cassert>
#include <cmath>
#include <ctime>
#include <iomanip>
#include <numeric>
#include <stack>
#include <queue>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <bitset>
#include <random>
#include <utility>
#include <functional>
using namespace std;
void solve()
{
string S,T;
cin >> S >> T;
set<string> U;
U.insert("watermelon");
U.insert("beachball");
U.insert("shrinebell");
U.erase(S);
U.erase(T);
cout << *U.begin() << "\n";
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
int tt = 1;
/* cin >> tt; */
while(tt--) solve();
}
ゆにぽけ