結果

問題 No.1004 サイコロの実装 (2)
ユーザー tamato
提出日時 2020-03-06 21:45:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-10-14 05:11:27
合計ジャッジ時間 2,954 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6 WA * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    import sys
    input = sys.stdin.readline

    a, b, x0, N = map(int, input().split())
    if x0 & 1:
        print(0, N//2)
    else:
        print(N//2, 0)


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