結果
問題 |
No.1611 Minimum Multiple with Double Divisors
|
ユーザー |
|
提出日時 | 2021-07-21 21:38:28 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 436 bytes |
コンパイル時間 | 845 ms |
コンパイル使用メモリ | 114,848 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-22 11:49:36 |
合計ジャッジ時間 | 5,308 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 WA * 28 |
ソースコード
import std.stdio, std.array, std.string, std.conv, std.algorithm; import std.typecons, std.range, std.random, std.math, std.container; import std.numeric, std.bigint, core.bitop; void main() { auto T = readln.chomp.to!int; while (T--) { auto X = readln.chomp.to!long; for (long i = 2; ; ++i) { if (X % i != 0) { writeln(X * i); break; } } } }