Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; char c; while(scanf("%d",&n)!=EOF) { …… 题解列表 2017年08月27日 0 点赞 0 评论 1593 浏览 评分:9.9
Hello, world! (Java代码)我认为这道题有问题,请大家指正 摘要:解题思路:这道题大家的答案都是接受两行的字符串,然后去掉空格,识别数字,将其转化为字符输出。这相当于只是把输入的样例转化到输出了但我认为 这道题的题意是,输入一些整数,其中无论包…… 题解列表 2018年09月30日 0 点赞 4 评论 2180 浏览 评分:9.9
Hello, world!-题解(Java代码) 摘要:###### ### 这道题有个小问题,题目说是空格,回车,以及tab都要考虑在内,我看了其他的题解都是认定只有两行输入,其实我觉得这并非正确题解,我采用的方法就是都考虑了 import j…… 题解列表 2020年03月04日 0 点赞 2 评论 1463 浏览 评分:9.9
Hello, world!-题解(C++代码)三行搞定! 摘要:解题思路: 利用C++的大招——强制类型转换,将输入的int,转换为char输出,最简代码注意事项: C++里,while(cin >> x)可以直接判断输入为EOF的情…… 题解列表 2020年09月10日 0 点赞 0 评论 740 浏览 评分:9.9
C与C++的共用解法 摘要: #include #include using namespace std; int main() { int s; //whi…… 题解列表 2022年01月28日 0 点赞 1 评论 560 浏览 评分:9.9
Hello,world! 摘要:```python m = [int(i) for i in input().split()] n = [int(i) for i in input().split()] s = "" for…… 题解列表 2022年02月23日 0 点赞 0 评论 573 浏览 评分:9.9
1083: Hello, world! 摘要:解题思路:什么 b 题目啊,我一直在想怎么才能输入一串整数后自动结束,因为题目强调了没有 EOF,我还以为是有什么非常规接收输入的办法,结果随手提交发现通过了。那你写那么多条件干嘛?注意事项:不是很懂…… 题解列表 2022年04月23日 0 点赞 0 评论 473 浏览 评分:9.9
两句话搞定 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; while (cin >> a) { cout << …… 题解列表 2022年06月24日 0 点赞 0 评论 753 浏览 评分:9.9
1083: Hello, world! 摘要:```cpp #include using namespace std; int main() { int a; while(cin>>a) cout…… 题解列表 2022年08月28日 0 点赞 0 评论 310 浏览 评分:9.9
Hello, world!(怀氏c++) 摘要:解题思路:把数字转换成ASCI码值,就是对应的char类型值注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; …… 题解列表 2022年10月24日 0 点赞 0 评论 193 浏览 评分:9.9