結果
| 問題 | No.8032 Unavailability of Inequality Signs |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-20 15:37:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 203 bytes |
| コンパイル時間 | 412 ms |
| コンパイル使用メモリ | 82,664 KB |
| 実行使用メモリ | 53,292 KB |
| 最終ジャッジ日時 | 2025-03-20 15:37:33 |
| 合計ジャッジ時間 | 1,857 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
N=int(input())
for i in range(N):
a,b=map(int,input().split())
if(a==b):
print(chr(ord('0')+13))
else:
x=a-b
x//=abs(x)
if(x==-1):
print(chr(ord('0')+12))
else:
print(chr(ord('0')+14))