結果

問題 No.442 和と積
ユーザー te-sh
提出日時 2017-10-31 14:11:08
言語 D
(dmd 2.109.1)
結果
WA  
実行時間 -
コード長 199 bytes
コンパイル時間 1,040 ms
コンパイル使用メモリ 105,032 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-12 22:16:35
合計ジャッジ時間 1,524 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11 WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/linuxbrew/.linuxbrew/opt/dmd/include/dlang/dmd/std/numeric.d(2999): Warning: cannot inline function `std.numeric.gcdImpl!ulong.gcdImpl`

ソースコード

diff #

import std.algorithm, std.conv, std.range, std.stdio, std.string;
import std.numeric;   // gcd, fft

void main()
{
  auto rd = readln.split.to!(long[]), a = rd[0], b = rd[1];
  writeln(gcd(a, b));
}
0