Problem ID:
helloworld
Points:
0.5 (partial)
Time limit:
1.0s
Memory limit:
512M
Input:
stdin
Output:
stdout
Author:
Problem type
Allowed languages
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!");
}
}
Comments
include <iostream>
using namespace std;
int main() { cout << "Hello, World!" << endl; return 0; }