题解 1083: Hello, world!

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

筛选

realloc动态分配内存

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

c++三行题解

摘要:解题思路:使用强转输出数据注意事项:while的循环读入参考代码:#include<bits/stdc++.h> using namespace std; int main(){     int……

Hello, world!(怀氏c++)

摘要:解题思路:把数字转换成ASCI码值,就是对应的char类型值注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a; ……

1083: Hello, world!

摘要:```cpp #include using namespace std; int main() { int a; while(cin>>a) cout……

1083——————Hello,World!

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

两句话搞定

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; while (cin >> a) { cout << ……

lf-Hello,world! 普通解法

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

1083: Hello, world!

解题思路:什么b题目啊,我一直在想怎么才能输入一串整数后自动结束,因为题目强调了没有EOF,我还以为是有什么非常规接收输入的办法,结果随手提交发现通过了。那你写那么多条件干嘛?注意事项:不是很懂出题人想让我们干嘛,也许是判题系统的问题吧。难道系统会自动ctrl+z?参考代码://题目1083:Hell