結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
57,216 KB
testcase_01 AC 38 ms
51,712 KB
testcase_02 AC 38 ms
51,712 KB
testcase_03 AC 40 ms
52,096 KB
testcase_04 AC 41 ms
52,352 KB
testcase_05 AC 40 ms
52,352 KB
testcase_06 AC 39 ms
52,224 KB
testcase_07 AC 100 ms
77,440 KB
testcase_08 AC 112 ms
76,912 KB
testcase_09 AC 92 ms
76,416 KB
testcase_10 AC 598 ms
95,488 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())
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