[Làm quen OJ]. Bài 1. Print Hello World !

View as PDF

Submit solution


Points: 1.00 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Author:
Problem source:
28Tech
Problem type
Allowed languages
C, C#, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch

Nhiệm vụ của bạn ở bài tập này rất đơn giản, bạn hãy nhập vào 1 số nguyên x và in ra 3 dòng :

Dòng 1 là số x bạn vừa nhập từ bàn phím

Dòng 2 in ra dòng chữ "Hello World !"

Dòng 3 in ra "28tech C++ programming !"


Đầu vào

1 dòng duy nhất chứa số nguyên x


Giới hạn

1<=x<=10^9


Đầu ra

In ra 3 dòng theo yêu cầu


Sample Input 01
5
Sample Output 01
5
Hello World !
28tech C++ programming !

Comments

Please read the guidelines before commenting.



  • 0
    L8_DuongThanhKhiem  commented on Nov. 20, 2025, 2:42 p.m.

    FULL AC:

    #include <bits/stdc++.h>
    using namespace std;
    int x;
    int main(){
        cin >> x;
        cout << x << endl;
        cout << "Hello World !" << endl;
        cout << "28tech C++ programming !";
        return 0;
    }
    

  • 0
    nguyen_cong_quang_385  commented on Sept. 13, 2025, 3:45 a.m.

    x = int(input()) if 1 <= x <= 10**9: print(x) print('Hello World !') print('28tech C++ programming !')


  • -5
    bengokyeuanh99  commented on April 8, 2025, 11:14 a.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


  • 2
    Tunganh9CT  commented on Dec. 22, 2024, 7:45 a.m.

    Code thì có thể debug, nhưng nhiệt huyết thì đừng bao giờ tắt!


  • -6
    viet_CUS482710635  commented on July 24, 2024, 2:37 p.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


  • -8
    thinh_phuc_2909  commented on July 18, 2024, 5:07 a.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


  • -4
    thinh_phuc_2909  commented on July 18, 2024, 5:06 a.m.

    using namespace std; int main(){ int x; cin >> x; cout << x << endl; cout << "Hello World !"<< endl; cout << "28tech C++ programming !"<< endl; return 0;

    }


  • -7
    huyen_baby  commented on June 27, 2024, 3:51 p.m.

    This comment is hidden due to too much negative feedback. Show it anyway.