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