結果
問題 | No.8032 Unavailability of Inequality Signs |
ユーザー |
![]() |
提出日時 | 2018-04-01 22:56:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 2,000 ms |
コード長 | 401 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-26 06:03:10 |
合計ジャッジ時間 | 1,039 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
# -*- coding: utf-8 -*-if __name__ == '__main__':n=int(input())for i in range(n):l=input().split()a=int(l[0])b=int(l[1])c=str(a-b)d=c[1:]if len(d)==0:d="0"if a==b:print("=")elif int(d)==b-a:print(b'\x3c'.decode('utf-8'))else:print(b'\x3e'.decode('utf-8'))