#16536: 分組報告


d10730535@gapps.fg.tp.edu.tw (d10730535鄧宇婷)

School : Not Student
ID : 86401
IP address : []
Last Login :
2018-10-08 11:17:48
d073. 分組報告 -- 板橋高中教學題 | From: [61.228.17.201] | Post Date : 2019-01-11 23:30

#include <iostream>
using namespace std;

int main() {
int n;
cin >> n;
cout << (n-1)/3+1;
return 0;
}
 
這樣好像更簡單XD
 
ZeroJudge Forum