結果
問題 | No.736 約比 |
ユーザー |
![]() |
提出日時 | 2022-03-20 20:29:42 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 177 bytes |
コンパイル時間 | 2,043 ms |
コンパイル使用メモリ | 218,332 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 14:39:08 |
合計ジャッジ時間 | 3,642 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 65 |
コンパイルメッセージ
/home/linuxbrew/.linuxbrew/opt/dmd/include/dlang/dmd/std/numeric.d(2999): Warning: cannot inline function `std.numeric.gcdImpl!ulong.gcdImpl`
ソースコード
import std; void main() { int N; readf("%d\n", N); auto a = readln.chomp.split.to!(long[]); auto g = a.fold!gcd; a[] /= g; writefln("%(%s:%)", a); }