結果

問題 No.1026 OGAWA's New Keyboard
ユーザー osrgy01osrgy01
提出日時 2021-06-19 15:21:21
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
TLE  
実行時間 -
コード長 129 bytes
コンパイル時間 467 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 8,696 KB
最終ジャッジ日時 2023-09-05 00:54:10
合計ジャッジ時間 6,969 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,868 KB
testcase_01 AC 15 ms
7,820 KB
testcase_02 AC 15 ms
7,916 KB
testcase_03 AC 15 ms
7,804 KB
testcase_04 TLE -
testcase_05 AC 25 ms
7,860 KB
testcase_06 AC 32 ms
7,868 KB
testcase_07 AC 623 ms
8,492 KB
testcase_08 AC 22 ms
7,792 KB
testcase_09 AC 16 ms
8,008 KB
testcase_10 AC 17 ms
7,800 KB
testcase_11 AC 16 ms
7,792 KB
testcase_12 AC 15 ms
7,964 KB
testcase_13 AC 15 ms
7,976 KB
testcase_14 AC 15 ms
7,880 KB
testcase_15 AC 15 ms
7,976 KB
testcase_16 AC 17 ms
7,864 KB
testcase_17 AC 148 ms
8,248 KB
testcase_18 AC 17 ms
7,924 KB
testcase_19 AC 130 ms
8,356 KB
testcase_20 AC 15 ms
7,892 KB
testcase_21 AC 15 ms
8,000 KB
testcase_22 AC 16 ms
7,956 KB
testcase_23 AC 16 ms
7,816 KB
testcase_24 AC 408 ms
8,344 KB
testcase_25 AC 17 ms
7,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ans=''
for _ in range(int(input())):
    s,t=input().split()
    if s=='0':
        ans+=t
    else:
        ans=t+ans
print(ans)
0