Submission

Status:

[-SSSSSS]

Subtask/Task Score:

{0/100}

Score: 0

User: samsenpisardmoo69

Problemset: คิดถึงแม่

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-03 13:39:12

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int day[8] = {0, 1, 2, 3, 4, 5, 6, 7};
    int mod = 224%7;
    int dayweek;
    cin >> dayweek;
    
    if(dayweek == 7) cout << day[1];
    else cout << day[dayweek-1];
    
}