当前位置: 首页 > wzjs >正文

梁山做网站百度直接打开

梁山做网站,百度直接打开,0基础建站网站搭建教程,做网站需要招聘内容范本描述 从键盘输入由5个字符组成的单词,判断此单词是不是hello,并显示结果。 输入 由5个字符组成的单词 输出 输出一句话: "this word is not hello!" 或者 "this word is hello!"。 输入样例 1 hello 输出样例 1 …

描述

从键盘输入由5个字符组成的单词,判断此单词是不是hello,并显示结果。

输入

由5个字符组成的单词

输出

输出一句话: "this word is not hello!" 或者 "this word is hello!"。

输入样例 1

hello

输出样例 1

this word is hello!

输入样例 2

lello

输出样例 2

this word is not hello!

python3

word = input().strip()
if word == "hello":print("this word is hello!")
else:print("this word is not hello!")    

c++

#include <iostream>
#include <string>
#include <algorithm>int main() {std::string word;std::cin >> word;// 移除首尾空白字符(如果需要)// word.erase(0, word.find_first_not_of(" \t"));// word.erase(word.find_last_not_of(" \t") + 1);if (word == "hello") {std::cout << "this word is hello!" << std::endl;} else {std::cout << "this word is not hello!" << std::endl;}return 0;
}

http://www.dtcms.com/wzjs/270048.html

相关文章:

  • 网站开发论文答辩ppt产品推广词
  • jsp 数据库做网站环球军事网
  • 怎么做网页背景淘宝seo搜索引擎优化
  • 做团购网站的公司引流软件有哪些
  • 政府网站建设哪家好百度移动首页
  • 网站建设uuiopseo小白入门教学
  • 可以做旅游供应商的网站seo测试
  • 学做沪江网站要多久友链交易
  • 知乎网页版seo关键词排名网络公司
  • 怎么在南京人社网站做失业登记要怎么做网络推广
  • 网站策划书撰写中国互联网数据平台
  • 软件设计专业就业前景贵州seo和网络推广
  • 做房地产用什么网站好网站群发软件
  • 如何做网站app外链网站大全
  • 公司或(学校)新闻网站建设开题报告jsp+mysql重庆seo报价
  • 可以做签名链接的网站网络seo优化公司
  • 兰州起点网站建设网址
  • 重庆建站管理系统信息如何提高网站排名的方法
  • 一个网站的二维码怎么做网络营销渠道策略有哪些
  • 做外贸需要网站搜索引擎营销的英文简称
  • 微企免费网站建设百度一下电脑版网页
  • 网站建设 全包免费网站建站
  • 福建网站建设公网络推广用什么软件好
  • 网站怎么快速做排名企业品牌网站营销
  • 贸易网站源码郑州网站建设十大公司
  • 程序开发的基本步骤是什么?附子seo
  • 网站用户体验解决方案app推广拉新一手渠道
  • 中小学门户网站建设百度关键词排名怎么查
  • 开发者选项怎么关闭昆明seo建站
  • java源代码网站雅虎搜索引擎