Submission
Status:
[PPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: lupniexx
Problemset: คิดถึงแม่
Language: cpp
Time: 0.003 second
Submitted On: 2025-09-25 17:32:19
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
n = (n+138)%7;
if(n==0){cout << 1;}
if(n==1){cout << 2;}
if(n==2){cout << 3;}
if(n==3){cout << 4;}
if(n==4){cout << 5;}
if(n==5){cout << 6;}
if(n==6){cout << 7;}
}