結果
問題 | No.276 連続する整数の和(1) |
ユーザー |
|
提出日時 | 2023-07-28 10:09:42 |
言語 | C# (.NET 8.0.404) |
結果 |
AC
|
実行時間 | 52 ms / 1,000 ms |
コード長 | 243 bytes |
コンパイル時間 | 7,310 ms |
コンパイル使用メモリ | 169,364 KB |
実行使用メモリ | 182,812 KB |
最終ジャッジ日時 | 2024-10-05 21:37:37 |
合計ジャッジ時間 | 8,691 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (95 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;using System.Collections.Generic;using System.Linq;namespace yukicoder{public class Program{public static void Main(){var n = int.Parse(Console.ReadLine());Console.WriteLine(n / (2 - n % 2));}}}