結果

問題 No.3032 Unavailability of Inequality Signs
ユーザー IL_mstaIL_msta
提出日時 2018-04-02 14:56:41
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 412 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 10,844 KB
実行使用メモリ 7,968 KB
最終ジャッジ日時 2023-09-08 13:23:27
合計ジャッジ時間 2,261 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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(67108864)
	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