結果

問題 No.1026 OGAWA's New Keyboard
ユーザー liny_tail
提出日時 2024-08-16 14:57:30
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 146 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 82,332 KB
実行使用メモリ 267,960 KB
最終ジャッジ日時 2024-08-16 14:57:33
合計ジャッジ時間 2,841 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4 TLE * 1
other -- * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
lst = []
ans = ''
for i in range(N):
  T,S = input().split(' ')
  if T == '0':
    ans += S
  else:
    ans = S + ans
print(ans)
0