题解列表
编写题解 2918: 成绩排序
摘要:解题思路:输入-冒泡法-输出注意事项:字符串的比较不能直接大小写参考代码:#include<stdio.h>#include<string.h>typedef struct student{ c……
有不会的可以问我,看见就回答,如果我有错误请帮忙说一下,谢谢
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int str[n];//定义n个空间就不会溢出 int i,j,……
1002: 三个数最大值
摘要:解题思路:三目运算注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; int max=0; scanf("%d %d %d&quo……
蓝桥杯2013年第四届真题-格子刷油漆 (Java代码)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{private static int m;private static int st……
蓝桥杯算法提高- c++_ch02_03 (C语言代码)好简单的题
摘要:解题思路:规律如下:0-石头 1-布0 1 -1 后者赢1 0 1 前者赢0-石头 2-剪刀0 2 -2 &n
苹果和虫子 C语言 三步搞定
摘要:解题思路:简单数学问题,公式一套ok注意事项:输入格式注意空格,输出公式即可参考代码:#include<stdio.h>int main(){ int n,x,y; scanf("%d %……
【绝对值排序】 (C++代码)(利用两个库函数——abs()求绝对值 和 sort()快排)
摘要:解题思路:多组输入,遇见0结束对绝对值进行比较排序后输出注意事项:sort函数可以自己设置比较的顺序参考代码:#include <stdio.h>
#include <cstdlib>
#incl……