奥运奖牌计数(不用二维数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int gold=0; int silve…… 题解列表 2023年11月15日 0 点赞 0 评论 276 浏览 评分:9.9
成绩排序(答案错误只有50分的试试把name数组空间改为101) 摘要:参考代码: ```c #include #include struct student { char name[101];//字符串后面要有个空 int age; …… 题解列表 2023年11月15日 1 点赞 1 评论 310 浏览 评分:10.0
萌新出品 2998: 电影票 摘要:参考代码:#include<iostream>using namespace std;int main(){ int x; cin >> x; cout << x <<" "<< 10 …… 题解列表 2023年11月15日 0 点赞 1 评论 297 浏览 评分:9.9
11231231231241232131 摘要:解题思路:1注意事项:1参考代码:import java.util.Scanner;public class Main { public static void main(String[] args)…… 题解列表 2023年11月15日 0 点赞 0 评论 573 浏览 评分:8.0
[编程入门]最大公约数与最小公倍数(C语言) 摘要:解题思路:注意事项:参考代码:方法一:#include<stdio.h>int main(){ int m,n,a,b; scanf("%d %d",&m,&n); a=m; …… 题解列表 2023年11月15日 0 点赞 0 评论 251 浏览 评分:0.0
printf基础练习 java代码 摘要:解题思路:直接输出print即可,要注意前缀注意事项:已知输出16进制和8进制为%x,%o,前面要加上0和0x表示这是一个16或8进制数参考代码:import java.util.Scanner;pu…… 题解列表 2023年11月15日 0 点赞 0 评论 966 浏览 评分:9.9
字符排序(冒泡排序) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> // 定义一个函数place,用于对输入的字符串按ASCII码从小到大进行冒泡排序 …… 题解列表 2023年11月14日 0 点赞 0 评论 401 浏览 评分:9.9
最简单易懂,看不懂你来打我! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,min,max; int x,y; scanf("%d%d",&m,&n); i…… 题解列表 2023年11月14日 0 点赞 0 评论 238 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#define N 202#define M 5002int dp[N][M];int weight…… 题解列表 2023年11月14日 0 点赞 0 评论 554 浏览 评分:0.0