Hello, world!【easy!】 摘要:解题思路:注意事项:while(~scanf("%d",&num[i])&&num[i]!='\n')//连续输入,注意是遇到'\n'就停止输入参考代码:#includ…… 题解列表 2022年04月03日 0 点赞 0 评论 534 浏览 评分:0.0
1083 Hello, world! 解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);//输入并拼接Strings1=scanner. 题解列表 2022年03月24日 0 点赞 0 评论 656 浏览 评分:0.0
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 评论 901 浏览 评分:9.9
1083: Hello, world!(c++版) **解题思路:**以数字形式输入,以字符形式输出即可**具体代码**```cpp#includeusingnamespacestd;intmain(){intn;while(scanf("%d",&n)!=EOF){printf("%c",n);}return0;}``` 题解列表 2022年02月09日 0 点赞 2 评论 493 浏览 评分:8.0
C与C++的共用解法 #include#includeusingnamespacestd;intmain(){ints;//while(cin>>s&&s!=EOF)//直接使用C++的EOF//while(scanf("%d",&s)==1)//与EOF功能相同while(~scanf("%d", 题解列表 2022年01月28日 0 点赞 1 评论 840 浏览 评分:9.9
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( 题解列表 2022年01月26日 0 点赞 0 评论 853 浏览 评分:9.5
1083: Hello, world! 摘要:直接用 %c 输出 ASCII 码对应的字符,注意读入换行符时输出空格。#include <bits/stdc++.h> using namespace std; int main() { …… 题解列表 2021年12月23日 0 点赞 0 评论 503 浏览 评分:0.0
Hello, world!(已经够简单的了) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n;while( scanf("%d",&n)!=EOF){ printf("%c",…… 题解列表 2021年12月09日 0 点赞 0 评论 606 浏览 评分:0.0
非常短,可以看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; while(~scanf("%d", &a))printf("%c",a); r…… 题解列表 2021年11月08日 0 点赞 0 评论 1211 浏览 评分:7.3
1083 【精简】【蓝桥杯】hello world 摘要:解题思路:注意事项:参考代码:#includeint main(){ int a; while(~scanf("%d",&a)) printf("%c",a);}…… 题解列表 2021年10月06日 0 点赞 6 评论 761 浏览 评分:7.3