CJ/Project1/P1028 [NOIP 2001 普及组] 数的计算(...

18 lines
349 B
C++
Raw Normal View History

//#include <iostream>
//using namespace std;
//
//int count(int n) {
// int total = 1; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>ֺϷ<D6BA><CFB7><EFBFBD><EFBFBD><EFBFBD>
// for (int i = 1; i <= n / 2; ++i) {
// total += count(i); // <20>ݹ鴦<DDB9><E9B4A6>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>ĩβ<C4A9><CEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// }
// return total;
//}
//
//int main() {
// int n;
// cin >> n;
// cout << count(n) << endl;
// return 0;
//}