結果
| 問題 |
No.8032 Unavailability of Inequality Signs
|
| コンテスト | |
| ユーザー |
moko_freedom
|
| 提出日時 | 2018-04-03 08:46:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 354 bytes |
| コンパイル時間 | 269 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-26 07:06:41 |
| 合計ジャッジ時間 | 2,442 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 7 |
ソースコード
n=int(input())
for i in range(n):
a,b=map(int,input().split())
if a==b:
print("=")
continue
A,B=a,b
while A!=0 and B!=0:
A/=10
B/=10
if A==0 and B!=0:
print("<")
continue
elif A!=0 and B==0:
print(">")
continue
A,B=a%10,b%10
flg=False
for i in range(11):
if A+i==B:
print("<")
flg=True
break
if not flg:
print(">")
moko_freedom