利用ASCII码进行字符和数字转换 解题思路:题目要求很简单,输入数字,输出对应ASCII的字符。所以写一个字符赋值语句再输出即可!注意最后输出末尾不能加换行符,这是题目要求注意事项:参考代码:#includeintmain(){intx;while(scanf("%d", 题解列表 2026年07月18日 0 点赞 0 评论 84 浏览 评分:0.0
1083Hello, world!(一个while解决) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a; while(scanf("%d",&a)!=EOF&&a!=&…… 题解列表 2024年05月29日 0 点赞 0 评论 931 浏览 评分:0.0
1083-hello world(ASCII码转化) ```c#define_CRT_SECURE_NO_WARNINGS#includeintmain(){chara[200]={0};inti=0;while(scanf("%d",&a[i])!=EOF){i++;}for(intj=0;j 题解列表 2024年02月04日 0 点赞 0 评论 575 浏览 评分:0.0 题目 1083: Hello, world! (C语言) 摘要:````c #include int main() { char a[200]; int i = 0; while(scanf("%d", &a[i]) != E…… 题解列表 2023年04月09日 0 点赞 0 评论 941 浏览 评分:9.9 Hello, world!(水题) 摘要:```c #include int main(){ int a[100],i=0,j; while(scanf("%d",&a[i])!=EOF){ i++; } fo…… 题解列表 2023年01月11日 0 点赞 3 评论 482 浏览 评分:9.9 realloc动态分配内存 摘要:解题思路:注意事项:参考代码:#include<stdio.h>/*72 101 108 108 111 44 32 119 111 114 108 100  题解列表 2022年12月09日 0 点赞 0 评论 460 浏览 评分:0.0 lf-Hello,world! 普通解法 摘要:解题思路:注意事项:参考代码: #include int main(){ int a; char s; while(scanf("%d",&a)!=EOF){…… 题解列表 2022年05月13日 0 点赞 0 评论 453 浏览 评分:0.0 Hello, world!【easy!】 摘要:解题思路:注意事项:while(~scanf("%d",&num[i])&&num[i]!='\n')//连续输入,注意是遇到'\n'就停止输入参考代码:#includ…… 题解列表 2022年04月03日 0 点赞 0 评论 534 浏览 评分:0.0 Hello, world!(已经够简单的了) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n;while( scanf("%d",&n)!=EOF){ printf("%c",…… 题解列表 2021年12月09日 0 点赞 0 评论 606 浏览 评分:0.0 非常短,可以看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; while(~scanf("%d", &a))printf("%c",a); r…… 题解列表 2021年11月08日 0 点赞 0 评论 1211 浏览 评分:7.3 « 123456 »
题目 1083: Hello, world! (C语言) 摘要:````c #include int main() { char a[200]; int i = 0; while(scanf("%d", &a[i]) != E…… 题解列表 2023年04月09日 0 点赞 0 评论 941 浏览 评分:9.9
Hello, world!(水题) 摘要:```c #include int main(){ int a[100],i=0,j; while(scanf("%d",&a[i])!=EOF){ i++; } fo…… 题解列表 2023年01月11日 0 点赞 3 评论 482 浏览 评分:9.9
realloc动态分配内存 摘要:解题思路:注意事项:参考代码:#include<stdio.h>/*72 101 108 108 111 44 32 119 111 114 108 100  题解列表 2022年12月09日 0 点赞 0 评论 460 浏览 评分:0.0
lf-Hello,world! 普通解法 摘要:解题思路:注意事项:参考代码: #include int main(){ int a; char s; while(scanf("%d",&a)!=EOF){…… 题解列表 2022年05月13日 0 点赞 0 评论 453 浏览 评分:0.0
Hello, world!【easy!】 摘要:解题思路:注意事项:while(~scanf("%d",&num[i])&&num[i]!='\n')//连续输入,注意是遇到'\n'就停止输入参考代码:#includ…… 题解列表 2022年04月03日 0 点赞 0 评论 534 浏览 评分:0.0
Hello, world!(已经够简单的了) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n;while( scanf("%d",&n)!=EOF){ printf("%c",…… 题解列表 2021年12月09日 0 点赞 0 评论 606 浏览 评分:0.0
非常短,可以看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; while(~scanf("%d", &a))printf("%c",a); r…… 题解列表 2021年11月08日 0 点赞 0 评论 1211 浏览 评分:7.3