結果
| 問題 | No.3454 Zodiac |
| コンテスト | |
| ユーザー |
Raiou_B
|
| 提出日時 | 2026-02-28 14:37:32 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 144 bytes |
| 記録 | |
| コンパイル時間 | 321 ms |
| コンパイル使用メモリ | 77,912 KB |
| 実行使用メモリ | 68,032 KB |
| 最終ジャッジ日時 | 2026-02-28 14:37:35 |
| 合計ジャッジ時間 | 2,348 ms |
|
ジャッジサーバーID (参考情報) |
judge7 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 13 |
ソースコード
P, Q, Yo, po, qo, Y = map(int, input().split()) poo = Yo%P +po qoo = Yo%Q + qo ansp = (abs(Y - poo))%P ansq = (abs(Y - qoo))%q print(ansp, ansq)
Raiou_B