#1819: 答案


1750246-2@g.puiching.edu.mo (P5A09林霆晞)

School : No School
ID : 2944
IP address : [192.168.120.33]
Last Login :
2025-03-07 17:35:03
a029. 分組報告 | From: [192.168.120.33] | Post Date : 2025-03-13 13:51

#include <iostream>

using namespace std;

 

int main() {

    int n;

    cin >> n;

    int group = (n - 1) / 3 + 1;

    cout << group << endl;

    return 0;

}

 
ZeroJudge Forum