[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:
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
FULL AC:
x = int(input()) if 1 <= x <= 10**9: print(x) print('Hello World !') print('28tech C++ programming !')
This comment is hidden due to too much negative feedback. Show it anyway.
Code thì có thể debug, nhưng nhiệt huyết thì đừng bao giờ tắt!
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
using namespace std; int main(){ int x; cin >> x; cout << x << endl; cout << "Hello World !"<< endl; cout << "28tech C++ programming !"<< endl; return 0;
}
This comment is hidden due to too much negative feedback. Show it anyway.