1765: 循环入门练习2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int sum=0; for…… 题解列表 2023年09月23日 0 点赞 0 评论 387 浏览 评分:0.0
1764: 循环入门练习1 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int sum=0; for…… 题解列表 2023年09月23日 0 点赞 0 评论 272 浏览 评分:0.0
1763: sizeof的大作用 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { cout<<sizeof(int)<<…… 题解列表 2023年09月23日 1 点赞 0 评论 382 浏览 评分:0.0
1762: printf基础练习 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { printf("0%o\n0x%x",123456789,123456789); return …… 题解列表 2023年09月23日 0 点赞 0 评论 726 浏览 评分:6.0
1761: 学习ASCII码 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { printf("%d %c",'t',63); return 0; }…… 题解列表 2023年09月23日 3 点赞 3 评论 1779 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main() { int num; cin>…… 题解列表 2023年09月23日 0 点赞 0 评论 344 浏览 评分:0.0
题解 3003: 鸡兔同笼问题 摘要:解题思路:注意事项:参考代码: #include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<(4…… 题解列表 2023年09月23日 0 点赞 0 评论 486 浏览 评分:9.9
题解 2751: 超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"…… 题解列表 2023年09月23日 0 点赞 0 评论 756 浏览 评分:9.9
自定义函数求最大公约数最小公倍数 摘要:解题思路:最大公约数利用辗转相除法,最小公倍数为两数相乘再除以最大公约数注意事项:参考代码:#include<stdio.h>int gcd(int x,int y)//最大公约数{ int m…… 题解列表 2023年09月23日 0 点赞 0 评论 355 浏览 评分:9.9
矩阵两对角线上的元素之和(简单代码) 摘要:解题思路:当n是奇数时,可以发现多算了一次a[n/2][n/2]注意事项:参考代码:#include<stdio.h>int main(){ int n;//N*N的矩阵 scanf("%…… 题解列表 2023年09月23日 0 点赞 0 评论 341 浏览 评分:0.0