当前位置:网站首页>L1-045 cosmic invincible greeting (5 points)
L1-045 cosmic invincible greeting (5 points)
2022-04-21 10:31:00 【WTXYL】
It is said that the first program learned by all programmers is to output a sentence on the screen “Hello World”, Say hello to the world . As a programmer in TIANTI game , You need to write more advanced programs , To be able to say hello to any designated planet .
Input format :
Type in the name of a planet on the first line S, Is a by no more than 7 A word in English letters , End with a carriage return .
Output format :
Output in one line Hello S, Follow the input S Say hello to the planet .
sample input :
Mars
sample output :
Hello Mars
Code :
#include <iostream>
#include <string>
using namespace std;
int main(){
string a;
cin >> a;
cout << "Hello " << a << endl;
}
版权声明
本文为[WTXYL]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211000290142.html
边栏推荐
猜你喜欢

(SIP-1-话机注册)关于IP话机通过SIP协议注册到PBX电话交换机的全过程解析-如何看wireshark中的报文

Summary of knapsack problem (0-1, complete, multiple knapsack problem)

Local IP addresses are accessed using domain names

趣丸集团招股书“失效”,旗下TT语音已下架,如何实现稳定增长?

数字经济-新经济指数(2017-2022)&31省数字经济测算(2013-2020)两大维度指标

ant a-table 表格数据同步

英伟达、万向、风语筑、追梦者基金……大咖漫谈“元宇宙与产业新机遇”丨2022元宇宙云峰会...

openCV——模板匹配

力扣(LeetCode)110. 平衡二叉树(2022.04.20)

Filebeat收集日志数据传输到Redis,通过Logstash来根据日志字段创建不同的ES索引
随机推荐
2022信息与未来预备刷题2《New Online Judge 1113: 位数问题》
符合类型相关知识点
Why programming is so difficult: starting from the deduction of stored value card
ES6实用小技巧
Alibaba cloud mobile R & D platform EMAS, product dynamics in March
【经验】HP打印机的IP为什么是169.254开头的
ant a-table 树表格级联选择
本地IP地址使用域名访问
MKL and vs2019 configuration method
The most easy to understand dependency injection and control inversion
数字经济-新经济指数(2017-2022)&31省数字经济测算(2013-2020)两大维度指标
Nanny level tutorial on building personal home page (I)
“空气洗”再迎迭代,模仿者又有了新目标
MySQL8.0学习记录07 - 数据类型之JSON
Revit数据处理(三)
[pytorch] Monai vit network graphic analysis
24张图攻克border-image
Mysql 002 DDL
L1-052 2018我们要赢 (5 分)
SAP ABAP FOR ALL ENTRIES 的用法