Mã bài:
helloworld
Điểm:
0,5 (OI)
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
512M
Dữ liệu vào:
stdin
Dữ liệu ra:
stdout
Tác giả:
Dạng bài
Ngôn ngữ cho phép
C, C++, Golang, Java, Pascal, Perl, Python, Rust
Chào mừng bạn đến với CLAOJ!
Để bắt đầu hành trình của bạn tại trang web này. Bạn hãy in ra chuỗi Hello, World!
. Do máy chấm ở web rất nghiêm ngặt, bạn phải in theo đúng các kí tự viết hoa, viết thường, kí tự đặc biệt.
Phía dưới đây là ví dụ lời giải của một số ngôn ngữ mà bạn có thể nộp trên website này.
C++
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World!" << endl;
return 0;
}
C
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
Pascal
program helloworld;
begin
writeln('Hello, World!');
end.
Python 2/3
print("Hello, World!")
Java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
Bình luận