結果

問題 No.1004 サイコロの実装 (2)
ユーザー wattaihei
提出日時 2020-03-06 22:41:52
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-14 09:04:58
合計ジャッジ時間 2,669 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6 WA * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, x, N = map(int, input().split())
if x%2 == 1:
    ans1 = 0
    ans2 = N//2
else:
    ans1 = N//2
    ans2 = 0

print(ans1, ans2)
0