Sgu105
2012-04-02 22:52
218 查看
目测SGU中最水的一题,找到规律就行了
/* *NAME:DIV 3 *LANG:C++ *Source:sgu105 */ #include <iostream> using namespace std; int n,ans; int main(){ cin >> n; cout << ((n/3*2)+(n%3==2)) << endl; }