結果

問題 No.1439 Let's Compare!!!!
ユーザー burita083burita083
提出日時 2021-03-26 23:03:41
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 370 bytes
コンパイル時間 427 ms
コンパイル使用メモリ 87,032 KB
実行使用メモリ 97,632 KB
最終ジャッジ日時 2023-08-19 09:47:46
合計ジャッジ時間 6,058 ms
ジャッジサーバーID
(参考情報)
judge9 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
78,672 KB
testcase_01 AC 70 ms
71,380 KB
testcase_02 AC 70 ms
71,500 KB
testcase_03 AC 70 ms
71,368 KB
testcase_04 AC 71 ms
71,476 KB
testcase_05 AC 71 ms
71,496 KB
testcase_06 AC 70 ms
71,108 KB
testcase_07 AC 134 ms
79,200 KB
testcase_08 AC 143 ms
78,996 KB
testcase_09 AC 121 ms
78,532 KB
testcase_10 AC 656 ms
97,632 KB
testcase_11 TLE -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = input()
T = input()
Q = int(input())
sl = len(str(S))
tl = len(str(T))
s = list(S)
t = list(T)
for _ in range(Q):
  A = list(map(str, input().split()))
  if A[0] == "S":
    s[int(A[1])-1] = A[2]
  else:
    t[int(A[1])-1] = A[2]
  if s == t:
    print("=")
    continue
  if s > t:
    print(">")
    continue
  else:
    print("<")
    continue
  
0