結果

問題 No.736 約比
ユーザー ddsyg1ddsyg1
提出日時 2019-01-15 13:44:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 105 ms / 2,000 ms
コード長 160 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 87,256 KB
実行使用メモリ 72,764 KB
最終ジャッジ日時 2023-09-07 02:18:01
合計ジャッジ時間 9,767 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 101 ms
72,232 KB
testcase_01 AC 103 ms
72,336 KB
testcase_02 AC 102 ms
72,416 KB
testcase_03 AC 100 ms
72,228 KB
testcase_04 AC 100 ms
72,424 KB
testcase_05 AC 99 ms
72,532 KB
testcase_06 AC 99 ms
72,724 KB
testcase_07 AC 100 ms
72,464 KB
testcase_08 AC 103 ms
72,316 KB
testcase_09 AC 100 ms
72,752 KB
testcase_10 AC 100 ms
72,400 KB
testcase_11 AC 99 ms
72,328 KB
testcase_12 AC 99 ms
72,396 KB
testcase_13 AC 100 ms
72,336 KB
testcase_14 AC 98 ms
72,424 KB
testcase_15 AC 99 ms
72,564 KB
testcase_16 AC 99 ms
72,420 KB
testcase_17 AC 103 ms
72,680 KB
testcase_18 AC 100 ms
72,560 KB
testcase_19 AC 99 ms
72,420 KB
testcase_20 AC 100 ms
72,764 KB
testcase_21 AC 97 ms
72,420 KB
testcase_22 AC 98 ms
72,696 KB
testcase_23 AC 97 ms
72,468 KB
testcase_24 AC 97 ms
72,412 KB
testcase_25 AC 98 ms
72,444 KB
testcase_26 AC 101 ms
72,528 KB
testcase_27 AC 97 ms
72,412 KB
testcase_28 AC 100 ms
72,684 KB
testcase_29 AC 101 ms
72,716 KB
testcase_30 AC 100 ms
72,420 KB
testcase_31 AC 100 ms
72,476 KB
testcase_32 AC 105 ms
72,716 KB
testcase_33 AC 104 ms
72,428 KB
testcase_34 AC 102 ms
72,348 KB
testcase_35 AC 100 ms
72,428 KB
testcase_36 AC 100 ms
72,720 KB
testcase_37 AC 101 ms
72,420 KB
testcase_38 AC 102 ms
72,460 KB
testcase_39 AC 105 ms
72,456 KB
testcase_40 AC 100 ms
72,308 KB
testcase_41 AC 101 ms
72,540 KB
testcase_42 AC 100 ms
72,288 KB
testcase_43 AC 102 ms
72,336 KB
testcase_44 AC 103 ms
72,288 KB
testcase_45 AC 103 ms
72,368 KB
testcase_46 AC 101 ms
72,676 KB
testcase_47 AC 100 ms
72,640 KB
testcase_48 AC 100 ms
72,464 KB
testcase_49 AC 101 ms
72,236 KB
testcase_50 AC 103 ms
72,724 KB
testcase_51 AC 102 ms
72,556 KB
testcase_52 AC 102 ms
72,432 KB
testcase_53 AC 101 ms
72,684 KB
testcase_54 AC 101 ms
72,596 KB
testcase_55 AC 101 ms
72,500 KB
testcase_56 AC 100 ms
72,564 KB
testcase_57 AC 101 ms
72,436 KB
testcase_58 AC 100 ms
72,472 KB
testcase_59 AC 102 ms
72,516 KB
testcase_60 AC 101 ms
72,640 KB
testcase_61 AC 100 ms
72,288 KB
testcase_62 AC 100 ms
72,336 KB
testcase_63 AC 102 ms
72,308 KB
testcase_64 AC 98 ms
72,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from functools import reduce
import math

a = int(input())
ar = list(map(int,input().split()))
g = reduce(math.gcd, ar)
print(":".join(str(s//g) for s in ar))
0