結果
| 問題 | No.1823 Tricolor Dango |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-30 01:23:47 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 82 ms / 2,000 ms |
| + 184µs | |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 32,996 KB |
| 最終ジャッジ日時 | 2026-09-11 12:09:22 |
| 合計ジャッジ時間 | 3,651 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 25 |
ソースコード
T = int(input())
for _ in range(T):
N = int(input())
A = list(map(int, input().split()))
if sum(A) % 3 == 0 and max(A) <= sum(A) // 3:
print('Yes')
else:
print('No')