結果

問題 No.1439 Let's Compare!!!!
ユーザー mesame3993mesame3993
提出日時 2021-10-30 03:38:00
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 424 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 82,816 KB
実行使用メモリ 97,152 KB
最終ジャッジ日時 2024-04-16 16:09:01
合計ジャッジ時間 4,964 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
57,472 KB
testcase_01 AC 38 ms
52,608 KB
testcase_02 AC 38 ms
51,968 KB
testcase_03 AC 38 ms
52,480 KB
testcase_04 AC 39 ms
52,608 KB
testcase_05 AC 39 ms
52,480 KB
testcase_06 AC 38 ms
51,712 KB
testcase_07 AC 80 ms
76,824 KB
testcase_08 AC 84 ms
76,512 KB
testcase_09 AC 69 ms
70,912 KB
testcase_10 AC 226 ms
95,104 KB
testcase_11 TLE -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
  from sys import stdin
  readline = stdin.readline
  n = int(readline())
  s = readline()[:-1]
  t = readline()[:-1]
  q = int(readline())
  s = [x for x in s]
  t = [x for x in t]
  for i in range(q):
    c, x, y = readline()[:-1].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('=')
main()
0