結果

問題 No.1026 OGAWA's New Keyboard
ユーザー panyapanya
提出日時 2020-04-14 23:42:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 689 ms / 1,000 ms
コード長 163 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 56,180 KB
最終ジャッジ日時 2023-10-14 10:05:14
合計ジャッジ時間 7,051 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
29,196 KB
testcase_01 AC 128 ms
29,384 KB
testcase_02 AC 126 ms
29,448 KB
testcase_03 AC 129 ms
29,440 KB
testcase_04 AC 689 ms
56,180 KB
testcase_05 AC 140 ms
30,032 KB
testcase_06 AC 147 ms
30,540 KB
testcase_07 AC 462 ms
45,552 KB
testcase_08 AC 139 ms
29,948 KB
testcase_09 AC 127 ms
29,500 KB
testcase_10 AC 130 ms
29,592 KB
testcase_11 AC 128 ms
29,428 KB
testcase_12 AC 126 ms
29,476 KB
testcase_13 AC 126 ms
29,448 KB
testcase_14 AC 125 ms
29,484 KB
testcase_15 AC 126 ms
29,312 KB
testcase_16 AC 132 ms
29,416 KB
testcase_17 AC 256 ms
35,712 KB
testcase_18 AC 128 ms
29,396 KB
testcase_19 AC 242 ms
35,376 KB
testcase_20 AC 131 ms
29,312 KB
testcase_21 AC 127 ms
29,516 KB
testcase_22 AC 128 ms
29,580 KB
testcase_23 AC 133 ms
29,420 KB
testcase_24 AC 401 ms
42,688 KB
testcase_25 AC 130 ms
29,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy;a=numpy.array([list(input().split())for _ in range(int(input()))]);b=a[:,0]=='1';print(''.join(numpy.append(a[b][:,1][::-1],a[numpy.invert(b)][:,1])))
0