题解 1083: Hello, world!

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1083: Hello, world!(C语言)

摘要:解题思路:1.接收输入,并储存在数组中。               2.等到不需要再次接收时,获取EOF退出,并在字符串末尾加上‘\0’表示结束。注意事项:字符串的截止符。参考代码:#include……

1083: Hello, world!

摘要:直接用 %c 输出 ASCII 码对应的字符,注意读入换行符时输出空格。#include <bits/stdc++.h> using namespace std; int main() { ……

1083 Hello, world!

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

Hello, world!【easy!】

摘要:解题思路:注意事项:while(~scanf("%d",&num[i])&&num[i]!=&#39;\n&#39;)//连续输入,注意是遇到&#39;\n&#39;就停止输入参考代码:#includ……

lf-Hello,world! 普通解法

摘要:解题思路:注意事项:参考代码:    #include    int main(){      int a;      char s;      while(scanf("%d",&a)!=EOF){……

realloc动态分配内存

摘要:解题思路:注意事项:参考代码:#include<stdio.h>/*72 101 108 108 111 44                   32 119 111 114 108 100 

ASCII码转字母

摘要:解题思路:将ASCII码转为字母用函数chr(),列表和字符串的连接都可以用+注意事项:输入两行要接在一起,输出要输出一行参考代码:L = list(map(int,input().split()))……