Bỏ qua đến nội dung
Quay lại bài tập

helloworld

Hello, World!

Giới hạn thời gian
1s
Giới hạn bộ nhớ
512 MB
Điểm
0.5(Chấm điểm từng phần)
Nhóm
Nhập môn

Tác giả: @BJMinhNhut

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!");
    }
}