X010


Submit solution

Points: 10
Time limit: 1.0s
Memory limit: 493M

Problem type

Cho hai số \(a\) và \(b\).

Yêu cầu: Hãy so sánh 2 số \(a\) và \(b\).

Dữ liệu nhập:

  • Dòng 1 ghi số \(a\) có số chữ số cỡ 1000 chữ số

  • Dòng 2 ghi số \(b\) có số chữ số cỡ 1000 chữ số

Dữ liệu xuất:

  • In ra 1 nếu \(a>b\)

  • In ra 0 nếu \(a=b\)

  • In ra -1 nếu \(a<b\)

Sample Input

123456
45

Sample Output

1

Comments

There are no comments at the moment.