問題一覧 > ネタ問題

No.8115 What day of week is it in N days?

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (解説公開後に AC するまで非表示) / 解いたユーザー数 85
作問者 : friedrice / テスター : t98slider
お気に入りにしたユーザー ProblemId : 12029 / 自分の提出
問題文最終更新日: 2026-09-26 02:18:34
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 2025 (順位表) の他の問題:

Problem Statement

April Fools' Day of 2025 is a Tuesday. What day of the week is it $N$ days after this day? Here, $N$ leaves a remainder of 1 when divided by 7.

Input

$N$

  • $1 \le N \le 10 ^ 9$
  • All inputs are integers.
  • Output

    Print the day of the week $N$ days after April Fools' Day of 2025, written in English.

    Sample

    Sample 1
    Input
    113
    Output
    Wednesday

    113 days after April Fools' Day of 2025 is July 23, which is a Wednesday. Therefore, print Wednesday.
    Incidentally, July 23 is the anniversary of yukicoder. It seems it will soon be its 11th year.

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