結果
| 問題 | No.1594 Three Classes |
| コンテスト | |
| ユーザー |
wesoweeen
|
| 提出日時 | 2021-07-12 22:40:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 193 bytes |
| 記録 | |
| コンパイル時間 | 260 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-02 03:36:45 |
| 合計ジャッジ時間 | 1,668 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 8 |
ソースコード
def main():
N = int(input())
nums = [int(i) for i in input().split()]
sumall = sum(nums)
print('Yes') if sumall % 3 == 0 else print('No')
if __name__ == '__main__':
main()
wesoweeen