2175: 信息学奥赛一本通T1250-The Castle 摘要:解题思路:熟练地运用位运算符,并使用广搜进行搜索。不懂可以看这里哦!注意事项:增量顺序不要改!参考代码:#include<bits/stdc++.h> using namespace std; i…… 题解列表 2023年01月13日 0 点赞 0 评论 279 浏览 评分:7.0
1346: 数字三角形4 摘要:```cpp #include using namespace std; int ij[27][27]; int main() { int n,answer=-1; ci…… 题解列表 2023年01月13日 0 点赞 0 评论 532 浏览 评分:9.9
1351: 数字三角形4 摘要:```cpp #include using namespace std; int arr[30][30]; int main() { int n,x,y; cin>>n;…… 题解列表 2023年01月13日 0 点赞 0 评论 357 浏览 评分:9.9
3129: 信息学奥赛一本通T1352-奖金 摘要:```cpp #include #include #include #include using namespace std; #define N 20001 int n,m,tot=0…… 题解列表 2023年01月13日 0 点赞 0 评论 480 浏览 评分:2.7
3130: 烦人的幻灯片(slides) 摘要:```cpp #include using namespace std; int x[30],y[30],p[30][5],q[30][3]; int main() { int m…… 题解列表 2023年01月13日 0 点赞 0 评论 326 浏览 评分:7.3
1230: 最小重量机器设计问题 摘要:```cpp #include #include using namespace std; const int maxn=1001; int n,m,d,c[maxn][maxn],w[ma…… 题解列表 2023年01月13日 0 点赞 0 评论 353 浏览 评分:9.9
1231: 杨辉三角 摘要:```cpp #include using namespace std; int main() { int n,a[30][30]; while(cin>>n) …… 题解列表 2023年01月13日 0 点赞 0 评论 212 浏览 评分:6.0
1232: 查找最大元素 摘要:```cpp #include #include using namespace std; int main() { string str; while(cin>>str…… 题解列表 2023年01月13日 0 点赞 0 评论 264 浏览 评分:9.9
1233: 核电站问题 摘要:```cpp #include using namespace std; int main() { int n; long long dp[50]={0,2,4,7}; …… 题解列表 2023年01月13日 0 点赞 0 评论 298 浏览 评分:9.9
1234: 检查一个数是否为质数 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) { …… 题解列表 2023年01月13日 0 点赞 0 评论 315 浏览 评分:9.6