結果

問題 No.1439 Let's Compare!!!!
コンテスト
ユーザー gorugo30
提出日時 2021-03-26 21:49:20
言語 Python3
(3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
TLE  
実行時間 -
コード長 299 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 56 ms
コンパイル使用メモリ 14,976 KB
実行使用メモリ 14,492 KB
最終ジャッジ日時 2026-10-01 15:10:02
合計ジャッジ時間 7,831 ms
ジャッジサーバーID
(参考情報)
judge4_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9 TLE * 1 -- * 8
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

N = int(input())
S = list(input())
T = list(input())
Q = int(input())
for iiii in range(Q):
    c, x, y = input().split()
    x = int(x) - 1
    if c == "S":
        S[x] = y
    else:
        T[x] = y
    if S > T:
        print(">")
    elif S == T:
        print("=")
    else:
        print("<")
0