結果
| 問題 |
No.1663 Maximum Remainder
|
| コンテスト | |
| ユーザー |
lessoniana
|
| 提出日時 | 2021-09-07 22:11:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 138 bytes |
| コンパイル時間 | 394 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-12-24 00:19:40 |
| 合計ジャッジ時間 | 1,704 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 13 |
ソースコード
a, b, c, d, m = map(int, input().split())
for x in range(a, b+1):
for y in range(c, d+1):
ans = max(ans, (x+y)%m)
print(ans)
lessoniana