牛客411701195号
牛客411701195号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客411701195号的博客
全部文章
(共11篇)
题解 | #首字母大写#
#include <stdio.h> #define MAX 110 int main() { char S[MAX] = { 0 }; scanf("%[^\n]%*c", S); //printf("%s", S); if (S[0] <= '...
2023-03-16
0
205
题解 | #skew数#
#include <stdio.h> #include<string.h> #include <math.h> int main() { char skew[32] = { 0 }; while (scanf("%[^\n]%*c", skew) != EOF...
2023-03-16
0
243
题解 | #字母统计#
#include <stdio.h> #include<string.h> #define MAX 100 int main() { char A[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char S[100] = { 0 }; while ...
2023-03-16
0
234
题解 | #密码翻译#
#include <stdio.h> #include<stdlib.h> #include<string.h> int main() { char A[30] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char a[30] = "ab...
2023-03-16
0
318
题解 | #找位置#
#include <stdio.h> int main() { char C[100] = {' '}; int inx = 0; scanf("%s", &C); while(C[inx] != '\0'){ inx++; } int A[100] = { 0 }; ...
2023-03-08
0
340
题解 | #打印极值点下标#
#include <stdio.h> int main() { int k; while (scanf("%d", &k) != EOF) { int arr[80] = { 0 }; int a = 0; int ext[80] = { 0 }; for (int...
2023-03-08
0
270
题解 | #找最小数#
#include <stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { int xy[2][1000]; int min[2] = { 100000, 100000 ...
2023-03-08
0
292
题解 | #查找#
#include <stdio.h> int main() { int n, m; int j = 0; int a[100] = { 0 }; int b[100] = { 0 }; while (scanf("%d", &n)!=EOF) { for (int i =...
2023-03-08
0
315
题解 | #找x#
#include <stdio.h> #define SIZE 201 int main() { int n,x; int A[SIZE]; int i = 0; while (scanf("%d", &n) != EOF) { for (int i = 0; i <...
2023-03-08
0
255
题解 | #整数奇偶排序#
#include <stdio.h> void quick_sort1(int num[], int low, int high) {//升序 int i, j; int temp = 0; int tmp; i = low; j = h...
2023-03-07
0
270
首页
上一页
1
2
下一页
末页