题解 1083: Hello, world!

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

筛选

1083: Hello, world!

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

1083 Hello, world!

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

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){……

1083——————Hello,World!

题目1083:Hello,world!**题目描述**Thisisthefirstproblemfortest.SinceallweknowtheASCIIcode,yourjobissimple:Inputnumbersandoutputcorrespondingmessages.——翻译(来源百度

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()))L1=list(map(int,input().split()))s=''foriinL+

代码的尽头是优雅

解题思路创建容器注意事项:一定要用nextline()这个函数一次性读取一行参考代码:importjava.util.ArrayList;importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scanner