Submission

Status:

[-SSSSSS]

Subtask/Task Score:

{0/100}

Score: 0

User: Ballmaii

Problemset: คิดถึงแม่

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-10 19:37:22

#include <iostream>
using namespace std;
int main()
{
    int n;
    cin>>n;
    int y;
    y = 141%7;
    
    if(n>y)
    {
        cout<<n-y;
    }
    else
    {
        cout<<n+(y-n);
    }
}