题解 1083: Hello, world!

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

筛选

Hello, world!【easy!】

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

1083 Hello, world!

解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);//输入并拼接Strings1=scanner.

Hello,world!

摘要:```python m = [int(i) for i in input().split()] n = [int(i) for i in input().split()] s = "" for……

1083: Hello, world!(c++版)

**解题思路:**以数字形式输入,以字符形式输出即可**具体代码**```cpp#includeusingnamespacestd;intmain(){intn;while(scanf("%d",&n)!=EOF){printf("%c",n);}return0;}```

C与C++的共用解法

#include#includeusingnamespacestd;intmain(){ints;//while(cin>>s&&s!=EOF)//直接使用C++的EOF//while(scanf("%d",&s)==1)//与EOF功能相同while(~scanf("%d",

Hello, world!-题解(python代码)

解题思路:注意事项:参考代码:lst=list(map(str,input().split()))lst2=list(map(str,input().split()))lst.extend(lst2)foriinrange(len(lst)):lst[i]=chr(int(lst[i]))print(

1083: Hello, world!

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

非常短,可以看看

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a;    while(~scanf("%d", &a))printf("%c",a);    r……