結果

問題 No.1439 Let's Compare!!!!
コンテスト
ユーザー mesame3993
提出日時 2021-10-30 03:34:15
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 287 bytes
コンパイル時間 343 ms
コンパイル使用メモリ 82,264 KB
実行使用メモリ 95,096 KB
最終ジャッジ日時 2024-10-07 13:20:05
合計ジャッジ時間 6,247 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9 TLE * 1 -- * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
s = input()
t = input()
q = int(input())
s = [x for x in s]
t = [x for x in t]
for i in range(q):
  c, x, y = input().split()
  if c == 'S':
    s[int(x)-1] = y 
  else:
    t[int(x)-1] = y 

  if s > t:
    print('>')
  elif s < t:
    print('<')
  else:
    print('=')
0