結果
問題 | No.1337 Fair Otoshidama |
ユーザー |
|
提出日時 | 2021-01-15 22:09:02 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 54 ms / 2,000 ms |
コード長 | 423 bytes |
コンパイル時間 | 412 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 60,416 KB |
最終ジャッジ日時 | 2024-11-26 15:05:43 |
合計ジャッジ時間 | 2,714 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 20 |
ソースコード
# import sys# input = sys.stdin.readlinedef mp():return map(int,input().split())def lmp():return list(map(int,input().split()))import mathimport bisectfrom copy import deepcopy as dcfrom itertools import accumulatefrom collections import Counter, defaultdict, dequedef ceil(U,V):return (U+V-1)//Vdef modf1(N,MOD):return (N-1)%MOD+1x,y,z = mp()su = x+y+zif su % 3 != 0:print("No")else:print("Yes")