顺序查找之谁拿了最多奖学金 摘要:```c #include int main() { char name[100][21], ganbu[100], xibu[100]; int num, qimo[100], ban…… 题解列表 2023年01月19日 0 点赞 0 评论 354 浏览 评分:9.9
喜欢简单的可以看一下 摘要:解题思路:注意事项:count一定要初始化为0,而且数字字符记得带单引号参考代码:#include<stdio.h>int main(){char str[255];int i,count=0;get…… 题解列表 2023年01月19日 0 点赞 0 评论 310 浏览 评分:0.0
顺序查找之不高兴的津津 摘要:```c #include int main() { int a[7][2], b[7], num = 0, day; for (int i = 0; i < 7; i++) //输入7…… 题解列表 2023年01月19日 0 点赞 0 评论 340 浏览 评分:8.8
用指针输出最高分数的学生姓名 摘要:```c #include int main() { int a[100], num, max; char n[100][21]; //定义字符串数组 用于存放名字 char(*p)…… 题解列表 2023年01月19日 0 点赞 0 评论 505 浏览 评分:9.9
快速进制转换 摘要:解题思路:注意事项:参考代码:n = input()a = int(n,16)print(hex(a).upper()[2:],a,oct(a)[2:])…… 题解列表 2023年01月19日 0 点赞 0 评论 248 浏览 评分:0.0
字符串对比,100%通过!!! 摘要:解题思路:注意事项:参考代码:a = input()b = input()if len(a) != len(b): print(1)elif a == b: print(2)elif a.…… 题解列表 2023年01月19日 0 点赞 0 评论 196 浏览 评分:0.0
题解 2841: 大整数加法 (c++)string解题 摘要:解题思路:用string把输入的数字倒叙存入在数组里面,然后进行对位相加,再倒叙输出参考代码:#include <iostream> using namespace std; string s1,…… 题解列表 2023年01月19日 1 点赞 0 评论 390 浏览 评分:9.0
成绩排序(水题) 摘要:```c #include #include struct stu{ char name[200]; int a,b; }; int main(){ struct …… 题解列表 2023年01月19日 0 点赞 0 评论 205 浏览 评分:0.0
绝对值排序(水题) 摘要:```c #include #include int main(){ int n,a[101],i,j,t; while(~scanf("%d",&n)&&n!=0){//这里的结尾…… 题解列表 2023年01月19日 0 点赞 0 评论 179 浏览 评分:0.0
C语言训练-排序问题<2>(水题) 摘要:```c #include #include int cmp(const void* a,const void* b){ return *(int *)b-*(int *)a; } …… 题解列表 2023年01月19日 0 点赞 0 评论 193 浏览 评分:0.0