結果
問題 | No.1823 Tricolor Dango |
ユーザー |
![]() |
提出日時 | 2022-01-30 11:41:45 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 153 ms / 2,000 ms |
コード長 | 288 bytes |
コンパイル時間 | 171 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 101,888 KB |
最終ジャッジ日時 | 2024-06-11 08:10:29 |
合計ジャッジ時間 | 3,526 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
n = int(input()) for _ in range(n): l = int(input()) a = list(map(int,input().split())) a_sum = sum(a) if(a_sum % 3 != 0): print('No') else: syou = a_sum // 3 if(max(a) > syou): print('No') else: print('Yes')