题解列表

筛选

编写题解 2918: 成绩排序

摘要:解题思路:输入-冒泡法-输出注意事项:字符串的比较不能直接大小写参考代码:#include<stdio.h>#include<string.h>typedef struct student{    c……

晶晶赴约会

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

数一的个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int n,sum=0;    cin>>n;   ……

1002: 三个数最大值

摘要:解题思路:三目运算注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; int max=0; scanf("%d %d %d&quo……

P1074 (C++代码)

摘要:解题思路:注意事项:参考代码:暴力bfs:#include <iostream>   #include <stdio.h>   #include <queue>   #include <stri……

【偶数求和】 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[1024]; int n, m, t ……