結果
問題 |
No.1439 Let's Compare!!!!
|
ユーザー |
![]() |
提出日時 | 2021-03-26 22:17:25 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 310 ms |
コンパイル使用メモリ | 82,172 KB |
実行使用メモリ | 338,512 KB |
最終ジャッジ日時 | 2024-11-28 23:41:50 |
合計ジャッジ時間 | 28,984 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 TLE * 9 |
ソースコード
N = int(input()) S = (input()) T = (input()) Q = int(input()) for i in range(Q): c = list(input().split()) if c[0] == 'T': T = T[:int(c[1]) - 1] + c[2] + T[int(c[1]):] else: S = S[:int(c[1]) - 1] + c[2] + S[int(c[1]):] if S > T: print('>') elif T > S: print('<') else: print('=')