結果
問題 |
No.2937 Sigma Plus Problem
|
ユーザー |
![]() |
提出日時 | 2025-04-11 16:38:40 |
言語 | C# (.NET 8.0.404) |
結果 |
TLE
|
実行時間 | - |
コード長 | 304 bytes |
コンパイル時間 | 8,319 ms |
コンパイル使用メモリ | 170,808 KB |
実行使用メモリ | 38,180 KB |
最終ジャッジ日時 | 2025-04-11 16:38:57 |
合計ジャッジ時間 | 16,888 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 TLE * 1 |
other | AC * 5 TLE * 6 -- * 9 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (106 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
class Program { static void Main(string[] args) { ulong n = ulong.Parse(Console.ReadLine()); ulong ans = 0; for(ulong i = 1; i <= n; i++) { ans += i; } Console.WriteLine(ans); } }