問題一覧 > 通常問題

No.591 (^o^)/

レベル : / AI推定難易度 : 73 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 793
作問者 : ミドリムシ / テスター : ciel
お気に入りにしたユーザー ProblemId : 1945 / 自分の提出
問題文最終更新日: 2026-06-26 01:21:44
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 177 (順位表) の他の問題:

Problem Statement

Midorimushi-kun learned that something called (^o^)/ seems to be trending.
He wanted to jump on the trend, so he asked you, his friend, for a program that creates (^o^)/.
However, since merely printing (^o^)/ would be boring, he has requested that he be able to create his very own (^o^)/.
Let's build him his own (^o^)/ creation machine so that Midorimushi-kun can jump on the trend.

Input

$T_1$
$T_2$

The input consists of two lines: the first line contains the eye part $T_1$, and
the second line contains the mouth part $T_2$
.
Each part is a single character that is a lowercase half-width letter, a digit, or a symbol (ASCII printable).

Output

Output the specified (^o^)/.
Here, the positions of ^ must be replaced with the eye part, and the position of o with the mouth part. Do not add any spaces before or after it. Print a newline at the end.

Sample

Sample 1
Input
^
o
Output
(^o^)/

This is the ordinary (^o^)/.

Sample 2
Input
-
_
Output
(-_-)/

This is a (^o^)/ that is so tired it is raising its hand while lying face down.

Sample 3
Input
1
+
Output
(1+1)/

It is no longer a face but a calculation, yet input like this is also possible.

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