結果
| 問題 |
No.1594 Three Classes
|
| コンテスト | |
| ユーザー |
max4588
|
| 提出日時 | 2021-08-14 22:51:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 191 bytes |
| コンパイル時間 | 154 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-06 00:31:11 |
| 合計ジャッジ時間 | 1,658 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 WA * 7 |
ソースコード
k=int(input().strip())
array = list(map(int, input().strip().split()))
total=sum(array)
if total/3<max(array) :
print('No')
elif total%3==0 :
print('Yes')
else :
print('No')
max4588