問題一覧 > 通常問題

No.2599 Summer Project

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (解説公開後に AC するまで非表示) / 解いたユーザー数 224
作問者 : 👑 amentorimaru / テスター : cleantted 👑 seekworser
お気に入りにしたユーザー ProblemId : 10278 / 自分の提出
問題文最終更新日: 2024-01-08 13:25:21
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 414 (順位表) の他の問題:

Problem Statement

Summer has arrived in the virtual world. Etowanyu-kun is frolicking in his swimsuit, holding something in both hands.


Summer calls for a watermelon, a beachball, and a shrinebell.

Etowanyu-kun is holding two distinct items among these, given as strings $S,T$.

Among the things needed for summer, answer the one that Etowanyu-kun does not have.

Input

$S$
$T$

  • $S,T$ are each one of watermelon,beachball,shrinebell
  • $S\neq T$

Output

Output the answer.

Sample

Sample 1
Input
beachball
watermelon
Output
shrinebell

The input gives beachball and watermelon, so output the remaining missing item, shrinebell.

Sample 2
Input
shrinebell
beachball
Output
watermelon

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。