結果

問題 No.3032 Unavailability of Inequality Signs
ユーザー zutsuzutsu
提出日時 2022-05-12 21:06:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 10,564 KB
実行使用メモリ 29,732 KB
最終ジャッジ日時 2023-09-27 20:53:44
合計ジャッジ時間 4,380 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
29,592 KB
testcase_01 AC 133 ms
29,620 KB
testcase_02 AC 134 ms
29,612 KB
testcase_03 AC 133 ms
29,368 KB
testcase_04 AC 133 ms
29,496 KB
testcase_05 AC 132 ms
29,656 KB
testcase_06 AC 134 ms
29,576 KB
testcase_07 AC 135 ms
29,572 KB
testcase_08 AC 136 ms
29,548 KB
testcase_09 AC 134 ms
29,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

N = int(input())
for _ in range(N):
    a,b = map(int, input().split())
    s = np.sign(a-b)
    if s == 1:
        print(chr(62))
    elif s == 0:
        print('=')
    else:
        print(chr(60))
0