[编程入门]数组插入处理-题解(python代码) 摘要:参考代码:A = list(map(int,input().split())) #将第一次输入的元素以整形放入列表 A.append(int(input())) #将第二次输入的一个元素以整形加入…… 题解列表 2021年10月15日 0 点赞 0 评论 898 浏览 评分:9.9
震宇大神的杀毒软件 摘要:解题思路:这里使用选择排序先排序,然后逆序输出即可注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; int a[100]; w…… 题解列表 2021年10月15日 0 点赞 0 评论 317 浏览 评分:0.0
题解 1390: 大神老白 摘要:解题思路:使用绝对值函数注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; while((scanf("%d",&n…… 题解列表 2021年10月15日 0 点赞 0 评论 728 浏览 评分:0.0
程序员的表白 摘要:解题思路:找规律暴力输出即可注意事项:参考代码:#include<stdio.h>int main(){ int n; while(~(scanf("%d",&n))){ for(int i=…… 题解列表 2021年10月15日 0 点赞 0 评论 287 浏览 评分:0.0
C语言考试练习题_保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ int m,n,i,j; char a[80]; get…… 题解列表 2021年10月15日 0 点赞 0 评论 367 浏览 评分:9.9
题解 1388: GC的苦恼 摘要:解题思路:也是使用字符数组来实现的,这里还用到了pow函数和strlen函数注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>i…… 题解列表 2021年10月15日 0 点赞 0 评论 389 浏览 评分:0.0
陈教主的三角形 摘要:解题思路:任意两边之和大于第三边即可注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; while( ~(scanf("%d %d %d",&a,&b…… 题解列表 2021年10月15日 0 点赞 0 评论 316 浏览 评分:0.0
妹子杀手的故事 摘要:解题思路:写的比较简单注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while( (scanf("%d %d",&a,&b)) && a && b)…… 题解列表 2021年10月15日 0 点赞 0 评论 312 浏览 评分:0.0
题解 1118: Tom数 摘要:解题思路:使用 int的话只能对一半,使用数组来存取数才可以存下去很大的数注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ ch…… 题解列表 2021年10月15日 0 点赞 0 评论 581 浏览 评分:0.0
题解 1116: IP判断 摘要:解题思路:巧用scanf函数的返回值来实现循环注意事项:取反是当返回值为-1的时候取反为1,循环结束参考代码:#include<stdio.h>int main(){ int a,b,c,d,k; c…… 题解列表 2021年10月15日 0 点赞 0 评论 412 浏览 评分:0.0