IO00

IO-00. Hello World! (5)

时间限制
100 ms
内存限制
32000 kB
代码长度限制
8000 B
判题程序
Standard

本题要求编写程序,输出一个短句“Hello World!”。

输入格式:

本题目没有输入。

输出格式:

在一行中输出短句“Hello World!”。

1 public class Main{
2     public static void main(String args[]) {
3     System.out.print("Hello World");
4     }
5 }

出现的错误:PAT要求类名必须为Main,提交时才不会出错,否则会跳出错误:The public type IO00 must be defined in its own file。

posted @ 2014-09-25 17:07  behappylee  阅读(588)  评论(0编辑  收藏  举报