摘要: 简单题,打表View Code #include <iostream>using namespace std;int ans[] = {0, 2, 7, 5, 30, 169, 441, 1872, 7632, 1740, 93313, 459901, 1358657, 2504881}, n;int main(){ while (cin >> n && n != 0) cout << ans[n] << endl; return 0;} 阅读全文
posted @ 2012-12-10 12:30 undefined2024 阅读(154) 评论(0) 推荐(0)