No.8058 M + D Problem
レベル :
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / スペシャルジャッジ問題 (複数の解が存在する可能性があります)
タグ : / 解いたユーザー数 240
作問者 :
AreTrash
タグ : / 解いたユーザー数 240
作問者 :
AreTrash
問題文最終更新日: 2020-04-02 00:01:08
English (AI translation)
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 April Fool Contest 2020
(順位表)
の他の問題:
Problem Statement
Today is month $M$, day $D$. I suddenly became curious about $M+D$, so please calculate it.
However, I am contrary by nature, so on rare occasions I judge AC and WA the opposite way.
Input
$M$ $D$
Month $M$, day $D$ is a date that exists in the Gregorian calendar.
Output
Reading my mind like an esper, output the result of calculating $M+D$.
Sample
Sample 1
Input
7 7
Output
14
July 7th means Tanabata, doesn't it. 7+7 is probably 14.
Sample 2
Input
12 25
Output
37
㍆㌋㌉㌏㌉㌸㌾㌋㌞㌹㌅
Sample 3
Input
1 1
Output
2
January 1st is New Year's Day. An alternative answer would be the "田" of 田んぼ (rice paddy).
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。