题解列表

筛选

成绩等级转换

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

用链表的方式解决问题

摘要:解题思路:注意事项:注意字符串相等的比较,注意计算不同数组的长度,注意存储的是float型的变量。参考代码:#include<stdio.h>#include<string.h>#include<ma……

1260:逆反的01串

```javaimportjava.util.Scanner;publicclass测试{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);while(sc.hasNext()){char[]a=sc.next().t

蓝桥杯基础练习VIP-完美的代价

#includeusingnamespacestd;intn;strings;intmain(){cin>>n;cin>>s;intj=n-1;intres=0;//res用来统计交换的次数intflag=0;//flag用来统计出现奇数次数的字符个数for(inti=0;i

蛇形填数(Python满分)

摘要:while True:     n=int(input().strip())     ls=[]     for i in range(n):         ls.append(list(0……

公式法求解

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(int argc, char *argv[]) { float a,b,c; sc……