結果
| 問題 | No.1439 Let's Compare!!!! |
| コンテスト | |
| ユーザー |
zer0
|
| 提出日時 | 2021-03-26 22:21:41 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 331 bytes |
| 記録 | |
| コンパイル時間 | 112 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 22,400 KB |
| 最終ジャッジ日時 | 2024-11-28 23:52:26 |
| 合計ジャッジ時間 | 29,251 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 2 WA * 6 TLE * 9 |
ソースコード
N = int(input())
S = (input())
T = (input())
Q = int(input())
for i in range(Q):
c = input()
if c[0] == 'T':
T = T[:int(c[2]) - 1] + c[4] + T[int(c[2]):]
else:
S = S[:int(c[2]) - 1] + c[4] + S[int(c[2]):]
if S > T:
print('>')
elif T > S:
print('<')
else:
print('=')
zer0