結果
| 問題 |
No.3295 Buying Bottled Water
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-10-05 13:31:50 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 296 bytes |
| コンパイル時間 | 957 ms |
| コンパイル使用メモリ | 160,188 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-10-05 13:32:17 |
| 合計ジャッジ時間 | 1,871 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 13 WA * 6 |
ソースコード
import std;
void main () {
int N = readln.chomp.to!int;
writeln((N + 499) / 500);
}
void read (T...) (string S, ref T args) {
import std.conv : to;
import std.array : split;
auto buf = S.split;
foreach (i, ref arg; args) {
arg = buf[i].to!(typeof(arg));
}
}