結果
問題 | No.339 何人が回答したのか |
ユーザー |
|
提出日時 | 2016-01-30 21:06:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 342 bytes |
コンパイル時間 | 253 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-21 19:28:10 |
合計ジャッジ時間 | 3,855 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 WA * 39 |
ソースコード
n = int(input())min = 100sum = 0list = []for i in range(n):per = int(input())if per < min:min = perlist.append(per)sum += perisDevide = Truefor num in range(len(list)):if list[num] % min != 0:isDevide = Falsebreakans = 0if isDevide == True:for num in range(len(list)):ans += list[num] / minprint(int(ans))