realloc动态分配内存 摘要:解题思路:注意事项:参考代码:#include<stdio.h>/*72 101 108 108 111 44 32 119 111 114 108 100  题解列表 2022年12月09日 0 点赞 0 评论 460 浏览 评分:0.0
c++三行题解 摘要:解题思路:使用强转输出数据注意事项:while的循环读入参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int…… 题解列表 2022年12月07日 0 点赞 0 评论 565 浏览 评分:9.9
Hello, world!(怀氏c++) 摘要:解题思路:把数字转换成ASCI码值,就是对应的char类型值注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; …… 题解列表 2022年10月24日 0 点赞 0 评论 563 浏览 评分:9.9
1083: Hello, world! 摘要:```cpp #include using namespace std; int main() { int a; while(cin>>a) cout…… 题解列表 2022年08月28日 0 点赞 0 评论 681 浏览 评分:9.9
1083——————Hello,World! 题目1083:Hello,world!**题目描述**Thisisthefirstproblemfortest.SinceallweknowtheASCIIcode,yourjobissimple:Inputnumbersandoutputcorrespondingmessages.——翻译(来源百度 题解列表 2022年08月09日 0 点赞 0 评论 1113 浏览 评分:0.0
两句话搞定 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; while (cin >> a) { cout << …… 题解列表 2022年06月24日 0 点赞 0 评论 1139 浏览 评分:9.9
!!!记住多行输入的方法!!! 摘要:解题思路:注意事项:参考代码:import syswhile True: line=sys.stdin.readline() if not line: break fo…… 题解列表 2022年06月20日 0 点赞 0 评论 559 浏览 评分:0.0
lf-Hello,world! 普通解法 摘要:解题思路:注意事项:参考代码: #include int main(){ int a; char s; while(scanf("%d",&a)!=EOF){…… 题解列表 2022年05月13日 0 点赞 0 评论 453 浏览 评分:0.0
Hello, world! 题解(c++简单啦,直接输出,so easy) 摘要:**解题思路:** 很简单,用*while(scanf("%d",&a)!=EOF)*输入,再用*char*就可以输出当前数在ASCII里的符号,根本不需要用到数组。 废话不多说,直接上程序!呵呵…… 题解列表 2022年05月11日 0 点赞 0 评论 714 浏览 评分:9.0
1083: Hello, world! 解题思路:什么b题目啊,我一直在想怎么才能输入一串整数后自动结束,因为题目强调了没有EOF,我还以为是有什么非常规接收输入的办法,结果随手提交发现通过了。那你写那么多条件干嘛?注意事项:不是很懂出题人想让我们干嘛,也许是判题系统的问题吧。难道系统会自动ctrl+z?参考代码://题目1083:Hell 题解列表 2022年04月23日 0 点赞 0 评论 866 浏览 评分:9.9