来泡池子了的西红柿很奔放
来泡池子了的西红柿很奔放
全部文章
分类
归档
标签
去牛客网
登录
/
注册
来泡池子了的西红柿很奔放的博客
全部文章
(共204篇)
题解 | #二维数组操作#
#include <stdio.h> #include <stdbool.h> bool checkvalid(int m, int n, int x, int y) { return ((x >= 0) && (x <= m - 1) ...
2024-11-07
0
18
题解 | #将真分数分解为埃及分数#
#include <stdio.h> int main() { int numerator, denominator; while (scanf("%d/%d", &numerator, &denominator) != EOF) { ...
2024-11-06
0
14
题解 | #字符串字符匹配#
#include <stdio.h> #include <string.h> #include <stdbool.h> #define MAXLEN 200 int main() { char S[MAXLEN], T[MAXLEN]; whil...
2024-11-06
0
14
题解 | #整型数组合并#
#include <stdio.h> #include <stdlib.h> int compare(const void* a, const void* b) { const int* intA = (int*)a; const int* intB = (i...
2024-11-06
0
15
题解 | #火车进站#
#include <stdio.h> #include <string.h> const int sz = 12; int n; int in[sz]; int ind_i; int stk[sz]; int ind_s; int out[sz]; int ind_o; c...
2024-11-06
0
16
题解 | #尼科彻斯定理#
#include <stdio.h> int main() { int m; while (scanf("%d", &m) != EOF) { int start = m * m - m + 1; printf...
2024-11-06
0
12
题解 | #公共子串计算#
#include <stdio.h> #include <string.h> int main() { char s1[150], s2[150]; int maxl = 0; while (scanf("%s\n%s", s1,...
2024-11-06
0
17
题解 | #参数解析#
#include <stdio.h> #include <string.h> int main() { char s[1001]; while (fgets(s, sizeof(s), stdin) != NULL) { int len = ...
2024-11-06
0
19
题解 | #计算日期到天数转换#
#include <stdio.h> int main() { int m[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int year, month, day; while (scanf(&q...
2024-11-06
0
10
题解 | #百钱买百鸡问题#
#include <stdio.h> #define MAX 101 int main() { int a[MAX], b[MAX], c[MAX]; int n; while (scanf("%d", &n)!= EOF) { ...
2024-11-06
0
10
首页
上一页
10
11
12
13
14
15
16
17
18
19
下一页
末页