結果
| 問題 | No.1026 OGAWA's New Keyboard |
| ユーザー |
|
| 提出日時 | 2020-04-14 18:17:08 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
AC
|
| 実行時間 | 840 ms / 1,000 ms |
| + 530µs | |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 329 ms |
| コンパイル使用メモリ | 21,412 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-08-28 12:32:37 |
| 合計ジャッジ時間 | 5,870 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 21 |
ソースコード
n=int(input())
head=''
tail=''
for _ in range(n):
t,s=map(str,input().split())
if t=='0':
tail+=s
else:
head+=s
ans=head[::-1]+tail
print(ans)