24复试上机我必乱杀
24复试上机我必乱杀
全部文章
分类
归档
标签
去牛客网
登录
/
注册
24复试上机我必乱杀的博客
全部文章
(共22篇)
这系统真的拉跨,说zero+zero=是结束符,提交又不给了
#include <stdio.h> #include <string.h> int shi(char a[],char b[],char arr[][11]){ int sum; for(int i=0;i<10;i++){ if(strcmp(a,arr[...
2024-03-04
0
267
本来不想做的,有点思路又硬着头皮做
#include <stdio.h> #include <string.h> struct Stu { char name[21]; int grade; }stu[1000]; void sort(struct Stu stu[],int N){ int max; ...
2024-03-04
1
284
难搞
#include <stdio.h> void sort1(int arr[],int low,int high){//从小到大排序 int min; for(int i=low;i<high-1;i++){ min=i; for(int j=i+1;j<hig...
2024-02-20
0
199
服了,被戏耍了
#include <stdio.h> #include <string.h> struct Person { char sno[16],come[10],go[10]; }person[10]; int main(){ int M; scanf("%d&quo...
2024-02-18
0
204
我还以为要定义树的数据结构
#include <stdio.h> int func(int m,int n){ if(m>n)return 0; return func(2*m,n)+func(2*m+1,n)+1; } int main(){ int m,n; while(scanf("%d...
2024-02-18
0
223
题目描述说的有问题
#include <stdio.h> int main(){ int grade,xf[10],xfsum=0,n;float gdsum=0; scanf("%d",&n); for(int i=0;i<n;i++){ scanf("...
2024-02-14
0
261
题解 | #最大上升子序列和#
#include <stdio.h>//去看b站 信奥编程罗老师 的视频 int max(int a,int b){ if(a>b)return a; else return b;}int main(){int N,a[1001],f[1001];while(scanf("...
2024-02-13
0
197
题解 | #最小长方形#
#include <stdio.h> int main(){ int arr[20][2]; while(1){ if(scanf("%d%d",&arr[0][0],&arr[0][1])==EOF) return 0; if(arr[...
2024-02-08
0
219
题解 | #三角形的边#
#include <stdio.h> int max(int a,int b){ if(a>b)return a; else return b; } int main(){ int a,b,c; while(scanf("%d%d%d",&a,&...
2024-02-07
4
192
题解 | #子串计算#借鉴了大佬的思路
#include <stdio.h> #include <string.h>//给出一个01字符串(长度不超过100),求其每一个子串出现的次数 void func(char str[],char t[],int l){//递归函数,数组t[]表示子串。开头为0的子串(及其...
2024-02-07
2
367
首页
上一页
1
2
3
下一页
末页