結果
| 問題 |
No.1439 Let's Compare!!!!
|
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2021-03-26 21:27:11 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 346 bytes |
| コンパイル時間 | 171 ms |
| コンパイル使用メモリ | 82,580 KB |
| 実行使用メモリ | 95,424 KB |
| 最終ジャッジ日時 | 2024-11-28 21:26:44 |
| 合計ジャッジ時間 | 3,367 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 RE * 11 |
ソースコード
N = int(input())
S = list(input())
T = list(input())
Q = int(input())
for i in range(Q):
c,x,y=input().split()
if c=='T':
T[int(x)-1]=y
else:
S[int(x)-1]=y
t = int(''.join(map(str, T)))
s = int(''.join(map(str, S)))
if t==s:
print('=')
elif s>t:
print('>')
else:
print('<')
H20