题解列表

筛选

1231: 杨辉三角

摘要:```cpp #include using namespace std; int main() { int n,a[30][30]; while(cin>>n) ……

1232: 查找最大元素

摘要:```cpp #include #include using namespace std; int main() { string str; while(cin>>str……

1233: 核电站问题

摘要:```cpp #include using namespace std; int main() { int n; long long dp[50]={0,2,4,7}; ……

1235: 检查金币

摘要:```cpp #include #include #include using namespace std; int w,r[10]={1,3,9,27,81,243,729,2187,65……

2104: 释放魔法

摘要:```cpp #include using namespace std; int n,m,h[1000][1000],v[3][3]; int fun(int x,int y) { ……

1236: 母牛生小牛

摘要:```cpp #include using namespace std; int count(int year) { if(year>N; cout……