結果
問題 | No.1823 Tricolor Dango |
ユーザー |
![]() |
提出日時 | 2024-06-16 20:47:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 165 bytes |
コンパイル時間 | 408 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 32,760 KB |
最終ジャッジ日時 | 2024-06-16 20:47:13 |
合計ジャッジ時間 | 5,089 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 2 WA * 23 |
ソースコード
for _ in range(int(input())):n = int(input())ls = list(map(int,input().split()))if len(ls)%3 == 0 and max(ls)*3 <= sum(ls):print("Yes")else:print("No")