結果

問題 No.2599 Summer Project
ユーザー Vertigo
提出日時 2024-03-19 19:07:33
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 387 bytes
コンパイル時間 523 ms
コンパイル使用メモリ 68,496 KB
最終ジャッジ日時 2025-02-20 07:47:37
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 1 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#define ll long long
using namespace std;

int main(){
    string a,b;
    cin >> a >> b;
    if(a == "beachball" &&  b == "watermelon"){
        cout << "shrinebell" << endl;
    }else if(a == "shrinebell" && b == "beachball"){
        cout << "watermelon" << endl;
    }else if(a == "shrinebell" && b == "watermelon"){
        cout << "beachball" << endl;
    }
}

0