Submission
Status:
[PPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: APNICHANAN
Problemset: คิดถึงแม่
Language: c
Time: 0.002 second
Submitted On: 2025-09-27 08:47:46
#include <stdio.h>
int main()
{
int d;
scanf("%d", &d);
d = d - (-30 - 30 - 31 - 30 - 18);
d = d % 7;
if (d == 0)
printf("7");
else
printf("%d", d);
}