結果

問題 No.1439 Let's Compare!!!!
ユーザー 小野寺健
提出日時 2021-05-14 16:40:38
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 288 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,248 KB
最終ジャッジ日時 2024-10-01 21:03:19
合計ジャッジ時間 4,341 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8 TLE * 1 -- * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = input()
T = input()
Q = int(input())

for _ in range(Q):
    s = input().split()
    c, x, y = s[0], int(s[1]), s[2]
    if c == 'S':
        S = S[0:x-1] + y + S[x:]
    else:
        T = T[0:x-1] + y + T[x:]
    print('>' if S > T else ('<' if S < T else '='))
    
0