题解列表

筛选

不会tle的代码

摘要:``` #include #include #include using namespace std; const int N = 50005; int stone[N]……

编写题解 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……

苹果和虫子 C语言 三步搞定

摘要:解题思路:简单数学问题,公式一套ok注意事项:输入格式注意空格,输出公式即可参考代码:#include<stdio.h>int main(){    int n,x,y;    scanf("%d %……