結果
| 問題 |
No.1004 サイコロの実装 (2)
|
| コンテスト | |
| ユーザー |
nehan_der_thal
|
| 提出日時 | 2020-03-06 21:58:58 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 126 bytes |
| コンパイル時間 | 215 ms |
| コンパイル使用メモリ | 81,856 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-10-14 06:49:07 |
| 合計ジャッジ時間 | 2,823 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 38 |
ソースコード
a, b, x, N = map(int, input().split()) x1 = a*x+b x2 = a*x1+b r1 = 0 if x1%2 else N//2 r2 = 0 if x2%2 else N//2 print(r1, r2)
nehan_der_thal