結果
問題 |
No.1439 Let's Compare!!!!
|
ユーザー |
![]() |
提出日時 | 2021-03-26 22:17:04 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 517 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 22,792 KB |
最終ジャッジ日時 | 2024-11-28 23:40:31 |
合計ジャッジ時間 | 29,148 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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('=')