牛客642546668号
牛客642546668号
全部文章
分类
题解(6)
归档
标签
去牛客网
登录
/
注册
牛客642546668号的博客
全部文章
(共6篇)
题解 | #找出字符串中第一个只出现一次的字符#
C语言题解 | #找出字符串中第一个只出现一次的字符# include <stdio.h> int main(){ char str[10000] = { 0 }; while(scanf("%s", str) != EOF) { int i...
2021-07-25
0
325
题解 | #高精度整数加法#
C语言题解 | #高精度整数加法# include <stdio.h> int main(){ char buf1[10001] = { 0 }; char buf2[10001] = { 0 }; while (scanf("%s", buf1) ...
2021-07-25
1
449
题解 | #计算某字母出现次数#
C语言解法#include <stdio.h> int main(){ int inputArray[2500] = { 0 }; int i = 0; int j = 0; int l = 0; while(scanf("%d", &...
2021-07-21
0
290
题解 | #提取不重复的整数#
C语言 include <stdio.h> int main(){ char str[1000]; scanf("%s\n", str); for (int i = strlen(str) - 1; i >= 0; i--) { printf(&...
2021-07-03
0
221
题解 | #提取不重复的整数#
C#include <stdio.h>#include <string.h> int main(){ char str[500]; char c; int count; gets(str); scanf("%c\n", &c); ...
2021-07-03
0
292
题解 | #提取不重复的整数#
一个比较笨的c语言解法#include <stdio.h> int main(){ int a, j; int i = 0; int c = 0; char buf[50] = { 0 }; scanf("%d", &a); whil...
2021-07-03
0
246