結果

問題 No.736 約比
ユーザー O2MTO2MT
提出日時 2021-06-07 17:28:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 349 bytes
コンパイル時間 569 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 76,916 KB
最終ジャッジ日時 2023-08-16 10:28:11
合計ジャッジ時間 9,725 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
76,384 KB
testcase_01 AC 82 ms
76,476 KB
testcase_02 AC 82 ms
76,456 KB
testcase_03 AC 88 ms
76,472 KB
testcase_04 AC 92 ms
76,360 KB
testcase_05 AC 77 ms
76,460 KB
testcase_06 AC 78 ms
76,472 KB
testcase_07 AC 92 ms
76,516 KB
testcase_08 AC 90 ms
76,592 KB
testcase_09 AC 86 ms
76,588 KB
testcase_10 AC 98 ms
76,756 KB
testcase_11 AC 99 ms
76,584 KB
testcase_12 AC 96 ms
76,692 KB
testcase_13 AC 96 ms
76,668 KB
testcase_14 AC 82 ms
76,616 KB
testcase_15 AC 92 ms
76,536 KB
testcase_16 AC 80 ms
76,228 KB
testcase_17 AC 94 ms
76,488 KB
testcase_18 AC 93 ms
76,624 KB
testcase_19 AC 87 ms
76,576 KB
testcase_20 AC 91 ms
76,668 KB
testcase_21 AC 86 ms
76,684 KB
testcase_22 AC 76 ms
76,516 KB
testcase_23 AC 77 ms
76,500 KB
testcase_24 AC 94 ms
76,672 KB
testcase_25 AC 75 ms
76,464 KB
testcase_26 AC 77 ms
76,232 KB
testcase_27 AC 94 ms
76,472 KB
testcase_28 AC 96 ms
76,356 KB
testcase_29 AC 81 ms
76,356 KB
testcase_30 AC 95 ms
76,544 KB
testcase_31 AC 77 ms
76,452 KB
testcase_32 AC 76 ms
76,396 KB
testcase_33 AC 93 ms
76,528 KB
testcase_34 AC 75 ms
76,392 KB
testcase_35 AC 76 ms
76,420 KB
testcase_36 AC 93 ms
76,576 KB
testcase_37 AC 94 ms
76,528 KB
testcase_38 AC 100 ms
76,660 KB
testcase_39 AC 79 ms
76,492 KB
testcase_40 AC 94 ms
76,616 KB
testcase_41 AC 94 ms
76,524 KB
testcase_42 WA -
testcase_43 WA -
testcase_44 AC 94 ms
76,620 KB
testcase_45 WA -
testcase_46 WA -
testcase_47 AC 99 ms
76,524 KB
testcase_48 WA -
testcase_49 WA -
testcase_50 WA -
testcase_51 WA -
testcase_52 WA -
testcase_53 WA -
testcase_54 WA -
testcase_55 WA -
testcase_56 AC 88 ms
76,616 KB
testcase_57 WA -
testcase_58 WA -
testcase_59 WA -
testcase_60 WA -
testcase_61 AC 96 ms
76,536 KB
testcase_62 AC 77 ms
76,400 KB
testcase_63 AC 78 ms
76,412 KB
testcase_64 AC 77 ms
76,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
l = []
for a in A:
  l.append(a)
for i in range(2,10001):
  num = float('inf')
  flg = False
  for j in range(N):
    if l[j]%i != 0:
      flg = True
  if flg:
    continue
  for j in range(N):
    l[j] //= i
ans = ''
for i in range(N):
  ans += str(l[i])
  if i != N-1:
    ans += ':'
print(ans)
0