結果
| 問題 | No.1439 Let's Compare!!!! | 
| コンテスト | |
| ユーザー |  burita083 | 
| 提出日時 | 2021-03-26 23:01:23 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 685 bytes | 
| コンパイル時間 | 299 ms | 
| コンパイル使用メモリ | 82,304 KB | 
| 実行使用メモリ | 76,416 KB | 
| 最終ジャッジ日時 | 2024-11-29 01:04:03 | 
| 合計ジャッジ時間 | 2,516 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 6 RE * 11 | 
ソースコード
N = int(input())
S = int(input())
T = int(input())
Q = int(input())
sl = len(str(S))
tl = len(str(T))
s = ""
t = ""
ok = True
for ss in str(S):
  if ok:
    if len(str(S)) < N:
      for i in range(N-len(str(S))):
        s += "0"
        ok = False
  s += ss
ok = True
for ss in str(T):
  if ok:
    if len(str(T)) < N:
      for i in range(N-len(str(T))):
        t += "0"
        ok = False
  t += ss
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
  
            
            
            
        