Points:
100 (p)
Time limit:
1.0s
Memory limit:
256M
Input:
stdin
Output:
stdout
Viết chương trình nhập vào hai số nguyên \(a, b\). In ra hai số đó theo thứ tự nhỏ đến lớn.
Input
- Hai số nguyên \(a, b\) mỗi số trên 1 dòng.
Output
- In ra hai số đó theo thứ tự nhỏ đến lớn.
Example
Test 1
Input
2
6
Output
2 6
Test 2
Input
-243
-543
Output
-543 -243
Comments
Code mẫu
ko tab dòng 2 và 3
dành cho người không biết về python
gợi ý(cấm chép code chứ không là tui hack tài khoản):
a = int(input())
b = int(input())
print(min(a,b),max(a,b), end='')
MAT DAYYYYYYYYYYYYYYYYYYYYYYY
include<bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
long long a,b;
cin>>a>>b;
cout<<min(a,b)<<" "<<max(a,b);
return 0;
}
This comment is hidden due to too much negative feedback. Click here to view it.
This comment is hidden due to too much negative feedback. Click here to view it.
help me
help me
BÀI TỐT ĐẤY
2 more comments