結果
問題 |
No.1004 サイコロの実装 (2)
|
ユーザー |
![]() |
提出日時 | 2020-12-19 13:56:46 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 153 bytes |
コンパイル時間 | 184 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-09-21 10:14:31 |
合計ジャッジ時間 | 2,969 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 WA * 30 |
ソースコード
a, b, x, N = map(int, input().split()) div, mod = divmod(N, 4) score = div + int(mod >= 2) if x % 2 == 1: print(score, 0) else: print(0, score)