2060:【例1.1】计算机输出
时间限制: 1000 ms 内存限制: 65536 KB
提交数: 192233
【题目描述】
在屏幕上输出“Hello World!”。
【输入】
(无)
【输出】
(无)
【输入样例】
(无)
【输出样例】
Hello World!
接下来是代码:
#include <iostream>
using namespace std;
int main() {
cout<<"Hello,World!";
return 0;
}
运行代码:
Hello,World!
--------------------------------
Process exited after 0.1711 seconds with return value 0
请按任意键继续. . .
本文介绍了如何使用C++编程语言在屏幕上输出HelloWorld!,并给出了相应的代码示例以及运行结果。
593

被折叠的 条评论
为什么被折叠?



