結果
問題 | No.1663 Maximum Remainder |
ユーザー |
![]() |
提出日時 | 2023-10-06 10:01:27 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 156 bytes |
コンパイル時間 | 2,723 ms |
コンパイル使用メモリ | 61,764 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-26 15:19:10 |
合計ジャッジ時間 | 2,943 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
import strscanslet (_, a, b, c, d, m) = stdin.readAll.scanTuple"$i $i $i $i $i"var ans = 0for n in (a + c .. b + d):ans = ans.max n mod mecho ans