結果
問題 |
No.1439 Let's Compare!!!!
|
ユーザー |
![]() |
提出日時 | 2021-03-26 23:03:41 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 370 bytes |
コンパイル時間 | 245 ms |
コンパイル使用メモリ | 82,244 KB |
実行使用メモリ | 168,192 KB |
最終ジャッジ日時 | 2024-11-29 01:10:58 |
合計ジャッジ時間 | 22,023 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 TLE * 6 |
ソースコード
N = int(input()) S = input() T = input() Q = int(input()) sl = len(str(S)) tl = len(str(T)) s = list(S) t = list(T) for _ in range(Q): A = list(map(str, input().split())) if A[0] == "S": s[int(A[1])-1] = A[2] else: t[int(A[1])-1] = A[2] if s == t: print("=") continue if s > t: print(">") continue else: print("<") continue