結果
| 問題 | No.339 何人が回答したのか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-01-30 21:06:02 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 357 bytes |
| 記録 | |
| コンパイル時間 | 292 ms |
| コンパイル使用メモリ | 21,212 KB |
| 実行使用メモリ | 15,788 KB |
| 最終ジャッジ日時 | 2026-09-01 20:45:36 |
| 合計ジャッジ時間 | 9,096 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))