結果
問題 | No.276 連続する整数の和(1) |
ユーザー |
![]() |
提出日時 | 2022-12-25 19:07:43 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 114 bytes |
コンパイル時間 | 2,134 ms |
コンパイル使用メモリ | 203,748 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 17:06:41 |
合計ジャッジ時間 | 2,526 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
コンパイルメッセージ
/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() {long N;readf("%d\n", N);long res = gcd(N, N*(N-1)/2);res.writeln;}