結果

問題 No.3032 Unavailability of Inequality Signs
ユーザー IL_mstaIL_msta
提出日時 2018-04-02 14:23:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 413 bytes
コンパイル時間 216 ms
コンパイル使用メモリ 10,908 KB
実行使用メモリ 8,024 KB
最終ジャッジ日時 2023-09-08 13:23:00
合計ジャッジ時間 2,682 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

first = input()
N = int(first)
flag = False
while N>0:
	str = input().split()
	A = int(str[0])
	B = int(str[1])
	bit = int(134217728)
	flag = False
	while(bit>0):
		AA = int(A/bit)
		BB = int(B/bit)
		if( AA and BB==0 ):
			print(chr(62))
			
			flag = True
			break
		elif( AA==0 and BB ):
			print(chr(60))
			flag = True
			break
		A = A%bit
		B = B%bit
		bit = bit/2
	if(flag==False):
		print(chr(61))
	N=N-1
0