結果
| 問題 | No.1439 Let's Compare!!!! | 
| コンテスト | |
| ユーザー |  mesame3993 | 
| 提出日時 | 2021-10-30 03:38:00 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                TLE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 424 bytes | 
| コンパイル時間 | 293 ms | 
| コンパイル使用メモリ | 82,364 KB | 
| 実行使用メモリ | 97,980 KB | 
| 最終ジャッジ日時 | 2024-10-07 13:20:36 | 
| 合計ジャッジ時間 | 5,320 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 9 TLE * 1 -- * 7 | 
ソースコード
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()
            
            
            
        