結果

問題 No.2092 Conjugation
ユーザー rara
提出日時 2022-11-10 12:20:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 208 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 10,708 KB
実行使用メモリ 819,344 KB
最終ジャッジ日時 2023-09-30 21:03:21
合計ジャッジ時間 7,524 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 139 ms
29,572 KB
testcase_01 AC 138 ms
29,572 KB
testcase_02 AC 137 ms
29,608 KB
testcase_03 AC 139 ms
29,560 KB
testcase_04 AC 137 ms
29,576 KB
testcase_05 AC 137 ms
29,528 KB
testcase_06 AC 137 ms
29,576 KB
testcase_07 AC 218 ms
39,156 KB
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 MLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
n = int(input())
A = list(map(int,input().split(' ')))
field = np.zeros((n,max(A)),dtype = int)
for i in range(len(field)):
    field[i,:A[i]] = 1
print(' '.join(list(map(str,sum(field)))))
0