#1870: The answer of a029 but just give me 10 robux (cheaper than Ethan) but if u don't give me i will report you to the teacher(real)


1753980-3@g.puiching.edu.mo (P5A31蒲雋浠)

School : No School
ID : 2571
IP address : [192.168.120.33]
Last Login :
2025-03-20 12:13:05
a029. 分組報告 | From: [192.168.120.33] | Post Date : 2025-03-26 20:16

#include <iostream>

using namespace std;

int main()

{

    int n;

    cin >> n;

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

    cout << group << endl;

    return 0;

}

 
#1886: Re:The answer of a029 but just give me 10 robux (cheaper than Ethan) but if u don't give me i will report you to the teacher(real)


1650362-7@g.puiching.edu.mo (余哲嵐 FISH)

School : No School
ID : 2916
IP address : [192.168.120.33]
Last Login :
2025-03-26 15:16:22
a029. 分組報告 | From: [192.168.120.33] | Post Date : 2025-03-28 15:22

#include

using namespace std;

int main()

{

    int n;

    cin >> n;

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

    cout << group << endl;

    return 0;

}


Don't post answers please

 
ZeroJudge Forum