题解列表

筛选

判断闰年(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     int x;     scanf("%d",&x);     if(x%4==0 && x%100!=0……

判断闰年(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     int x;     scanf("%d",&x);     if(x%4==0 && x%100!=0……

必过码可带走短码

摘要:解题思路:原题链接:汽水瓶解题思路:根据老板可以借水,可以变相理解为使用2个空瓶和老板换一瓶水,代码改写为参考代码:while 1:    t=int(input())    if t == 0:  ……

#用集合来排序

摘要:解题思路:注意事项:参考代码:package Dotcpp;import java.util.ArrayList;import java.util.Collections;import java.ut……

#用集合来排序

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;import java.util.ArrayList;import java.util.Collections;impo……

数字整除(python代码)

摘要:def judge(x):     c = len(x)     x = list(x)     e = int(x[c-1])     del(x[c-1])     x = &#39;&

题目 1511: 蓝桥杯算法提高VIP-复数求和

摘要:解题思路:从键盘读入n个复数(实部和虚部都为整数)用链表存储,遍历链表求出n个复数的和并输出。注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef ……

输出最高分数的学生姓名

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{    int score;    char name[100];}a[1000];int main(){……

选择排序思想解题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<windows.h>int main(){    int l,m,min;    ……

编写题解 1130: C语言训练-数字母(利用cctype)

摘要:解题思路:我看了一下题解,好像用ctype系列的题解暂时没有。这里就暂且引入一下ctype,操作就稍稍简单一点。ctype.h是C标准函数库中的头文件,定义了一批C语言字符分类函数(C charact……