結果
| 問題 |
No.111 あばばばば
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-04-11 11:07:49 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 329 bytes |
| コンパイル時間 | 7,839 ms |
| コンパイル使用メモリ | 172,260 KB |
| 実行使用メモリ | 38,564 KB |
| 最終ジャッジ日時 | 2025-04-11 11:08:04 |
| 合計ジャッジ時間 | 14,844 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 TLE * 1 -- * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (129 ミリ秒)。 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)
{
decimal n = decimal.Parse(Console.ReadLine());
decimal palindrome = 0;
for(int i = 1; i < n; i+= 2)
{
palindrome += i;
}
Console.WriteLine(palindrome);
}
}
Maeda