結果
問題 |
No.373 かけ算と割った余り
|
ユーザー |
|
提出日時 | 2017-07-20 17:09:55 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 225 bytes |
コンパイル時間 | 2,424 ms |
コンパイル使用メモリ | 155,036 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 21:04:13 |
合計ジャッジ時間 | 2,212 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 |
ソースコード
import std.algorithm, std.conv, std.range, std.stdio, std.string; import std.bigint; // BigInt void main() { auto rd = readln.split.to!(BigInt[]), a = rd[0], b = rd[1], c = rd[2], d = rd[3]; writeln(a * b * c % d); }