1083: Hello, world!(C语言) 摘要:解题思路:1.接收输入,并储存在数组中。 2.等到不需要再次接收时,获取EOF退出,并在字符串末尾加上‘\0’表示结束。注意事项:字符串的截止符。参考代码:#include…… 题解列表 2021年05月30日 0 点赞 0 评论 254 浏览 评分:0.0
Hello, world!(已经够简单的了) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n;while( scanf("%d",&n)!=EOF){ printf("%c",…… 题解列表 2021年12月09日 0 点赞 0 评论 216 浏览 评分:0.0
1083: Hello, world! 摘要:直接用 %c 输出 ASCII 码对应的字符,注意读入换行符时输出空格。#include <bits/stdc++.h> using namespace std; int main() { …… 题解列表 2021年12月23日 0 点赞 0 评论 128 浏览 评分:0.0
1083 Hello, world! 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年03月24日 0 点赞 0 评论 266 浏览 评分:0.0
Hello, world!【easy!】 摘要:解题思路:注意事项:while(~scanf("%d",&num[i])&&num[i]!='\n')//连续输入,注意是遇到'\n'就停止输入参考代码:#includ…… 题解列表 2022年04月03日 0 点赞 0 评论 177 浏览 评分:0.0
lf-Hello,world! 普通解法 摘要:解题思路:注意事项:参考代码: #include int main(){ int a; char s; while(scanf("%d",&a)!=EOF){…… 题解列表 2022年05月13日 0 点赞 0 评论 124 浏览 评分:0.0
!!!记住多行输入的方法!!! 摘要:解题思路:注意事项:参考代码:import syswhile True: line=sys.stdin.readline() if not line: break fo…… 题解列表 2022年06月20日 0 点赞 0 评论 137 浏览 评分:0.0
1083——————Hello,World! 摘要:题目 1083: Hello, world! **题目描述** This is the first problem for test. Since all we know the ASCII …… 题解列表 2022年08月09日 0 点赞 0 评论 665 浏览 评分:0.0
realloc动态分配内存 摘要:解题思路:注意事项:参考代码:#include<stdio.h>/*72 101 108 108 111 44 32 119 111 114 108 100  题解列表 2022年12月09日 0 点赞 0 评论 88 浏览 评分:0.0
ASCII码转字母 摘要:解题思路:将ASCII码转为字母用函数chr(),列表和字符串的连接都可以用+注意事项:输入两行要接在一起,输出要输出一行参考代码:L = list(map(int,input().split()))…… 题解列表 2023年03月17日 0 点赞 0 评论 95 浏览 评分:0.0