数字的处理与判断(常规版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main() { long a,i=0,j,k,m,n,x; scanf("%d",…… 题解列表 2022年11月06日 0 点赞 0 评论 380 浏览 评分:0.0
C语言字符串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; gets(a); for(int i=0;i<3;i++) …… 题解列表 2022年11月06日 0 点赞 0 评论 276 浏览 评分:0.0
1169基础解法(Python) 摘要:注意事项:因为sys.stdin直接读取输入流,则第一项是什么对我们而言不太重要,只需要判断这个列表是否为空即可因为是绝对值的大小排序,选用sorted()函数中的key参数设定排序的指标为abs()…… 题解列表 2022年11月06日 0 点赞 0 评论 284 浏览 评分:0.0
记录自己答案:1025 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[9],b[10],n,i; for(i=0;i<9;i++) { s…… 题解列表 2022年11月06日 0 点赞 0 评论 345 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n = 0, a[10] = {0}, ans = 0; for (int i = 0; …… 题解列表 2022年11月06日 0 点赞 0 评论 285 浏览 评分:0.0
2800: 多边形内角和 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n = 0, ans = 0; scanf("%d", &n); …… 题解列表 2022年11月07日 0 点赞 0 评论 411 浏览 评分:0.0
2886: 图像旋转 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int m = 0, n = 0, a[105][105] = {0}, b[105][10…… 题解列表 2022年11月07日 0 点赞 0 评论 378 浏览 评分:0.0
2903: 不高兴的津津 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a[8] = {0}, n = 0, max = 0, ans = 0; …… 题解列表 2022年11月07日 0 点赞 0 评论 385 浏览 评分:0.0
2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n = 0, a[505] = {0}, q = 0; scanf("%d…… 题解列表 2022年11月07日 0 点赞 0 评论 368 浏览 评分:0.0
回文判断(字符串比较)+ 踩坑经过 摘要:解题思路: 回文数:是从左到右读和从右到左读都一样的数字。 思路:既然题目要求使用字符串来解决,无非就是字符串的比较问题。先使用一个for循…… 题解列表 2022年11月07日 0 点赞 1 评论 404 浏览 评分:0.0