結果
| 問題 |
No.2599 Summer Project
|
| コンテスト | |
| ユーザー |
amentorimaru
|
| 提出日時 | 2023-10-24 19:51:46 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 278 bytes |
| コンパイル時間 | 3,021 ms |
| コンパイル使用メモリ | 123,008 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 14:23:24 |
| 合計ジャッジ時間 | 1,326 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 |
ソースコード
#include<iostream>
#include<string>
#include<set>
#include<cassert>
using namespace std;
int main() {
string s,t;
cin>>s>>t;
set<string> ss={"watermelon","shrinebell","beachball"};
ss.erase(s);
ss.erase(t);
assert(ss.size()==1);
cout<<*ss.begin();
return 0;
}
amentorimaru