結果

問題 No.1587 012 Matrix
ユーザー KeroruKeroru
提出日時 2021-07-08 22:46:50
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 88 ms / 1,000 ms
コード長 80 bytes
コンパイル時間 303 ms
使用メモリ 75,900 KB
最終ジャッジ日時 2023-02-01 18:56:15
合計ジャッジ時間 4,076 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 84 ms
75,712 KB
testcase_01 AC 82 ms
75,408 KB
testcase_02 AC 83 ms
75,724 KB
testcase_03 AC 82 ms
75,700 KB
testcase_04 AC 83 ms
75,532 KB
testcase_05 AC 83 ms
75,636 KB
testcase_06 AC 84 ms
75,552 KB
testcase_07 AC 83 ms
75,788 KB
testcase_08 AC 82 ms
75,844 KB
testcase_09 AC 82 ms
75,480 KB
testcase_10 AC 82 ms
75,784 KB
testcase_11 AC 83 ms
75,648 KB
testcase_12 AC 84 ms
75,460 KB
testcase_13 AC 84 ms
75,540 KB
testcase_14 AC 85 ms
75,724 KB
testcase_15 AC 87 ms
75,516 KB
testcase_16 AC 87 ms
75,796 KB
testcase_17 AC 87 ms
75,672 KB
testcase_18 AC 88 ms
75,900 KB
testcase_19 AC 87 ms
75,516 KB
testcase_20 AC 88 ms
75,448 KB
testcase_21 AC 88 ms
75,468 KB
testcase_22 AC 85 ms
75,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
for i in range(n):o=i<n//2;t=i+1-o;print('2'*t+'1'*o+'0'*(n-t-o))
0