练习时长两年半的鳄鱼很勤奋努力
练习时长两年半的鳄鱼很勤奋努力
全部文章
分类
归档
标签
去牛客网
登录
/
注册
练习时长两年半的鳄鱼很勤奋努力的博客
全部文章
(共11篇)
题解 | #【模板】单源最短路2#
#include <stdio.h> #include <stdlib.h> int main() { int u, v, w; int i, j; int n, m, t; scanf("%d%d", &t, &a...
2024-03-23
1
143
题解 | #最小生成树#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 返回最小的花费代价使得这n户人家连接起来 * @param n int整型 n户人家的村庄 * @param m int整型 m条路 * @param cost int整型二维数组 一维3个参数...
2024-03-23
0
210
题解 | #【模板】拓扑排序#
#include <stdio.h> #include <stdlib.h> typedef struct arcnode { int adjvex; struct arcnode*next; }arcnode; typedef struct { in...
2024-03-22
0
155
题解 | #【模板】拓扑排序#
#include <stdio.h> #include <stdlib.h> typedef struct arcnode { int adjvex; struct arcnode*next; }arcnode; typedef struct { in...
2024-03-22
0
127
题解 | #【模板】拓扑排序#
#include <stdio.h> #include <stdlib.h> // MAX为无穷 typedef struct arcnode { int adjvex; struct arcnode*next; }arcnode; typedef struc...
2024-03-22
0
161
题解 | #计算带余除法#
#include <stdio.h> int main() { int a, b; scanf("%d %d",&a,&b); printf("%d %d",a/b,a%b); return 0; ...
2024-03-16
0
153
题解 | #计算表达式的值#
#include <stdio.h> int main() { int a=40; int c=212; printf("%d",(-8+22)*a-10+c/2); return 0; }
2024-03-16
0
150
题解 | #字符转ASCII码#
#include <stdio.h> int main() { char c; scanf("%c",&c); printf("%d",c); return 0; }
2024-03-16
0
137
题解 | #ASCII码#
#include <stdio.h> int main() { int a[12]={73,32,99,97,110,32,100,111,32,105,116,33}; int i; for(i=0;i<12;i++) { printf(...
2024-03-10
1
163
题解 | #字符圣诞树#
#include <stdio.h> int main() { int i,j,k; char n; scanf("%c",&n); for(i=1;i<=5;i++) { for(j=0;j&l...
2024-03-10
1
153
首页
上一页
1
2
下一页
末页