結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
_agatan
|
| 提出日時 | 2015-04-24 19:18:49 |
| 言語 | D (dmd 2.112.0) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 5,000 ms |
| + 910µs | |
| コード長 | 157 bytes |
| 記録 | |
| コンパイル時間 | 730 ms |
| コンパイル使用メモリ | 111,872 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-25 21:47:58 |
| 合計ジャッジ時間 | 2,270 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
コンパイルメッセージ
/home/linuxbrew/.linuxbrew/opt/dmd/include/dlang/dmd/core/checkedint.d(814): Warning: cannot inline function `core.checkedint.mulu!().mulu`
ulong mulu()(ulong x, uint y, ref bool overflow)
^
ソースコード
import std.stdio, std.algorithm, std.array, std.conv, std.string;
void main()
{
ulong d, p;
readf("%d %d", &d, &p);
writeln(d + d * p / 100);
}
_agatan