結果

問題 No.1004 サイコロの実装 (2)
ユーザー ryo_n
提出日時 2020-03-06 23:39:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 251 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 82,268 KB
実行使用メモリ 53,544 KB
最終ジャッジ日時 2024-10-14 10:00:25
合計ジャッジ時間 2,941 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 38
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.setrecursionlimit(10 ** 8)

input = sys.stdin.readline


def main():
    A, B, X, N = [int(x) for x in input().split()]

    if X & 1:
        print(N // 2, 0)
    else:
        print(0, N // 2)


if __name__ == '__main__':
    main()
0