알고리즘

[알고리즘] 백준 24078 - 余り (Remainder) (C++)

blueberrysoda 2024. 10. 18. 23:51

[문제 링크] : https://www.acmicpc.net/problem/24078

#include <iostream>
using namespace std;

int main(){
    int N;
    cin >> N;
    cout << N % 21 << "\n";
    return 0;
}