結果

問題 No.2216 Pa1indr0me
ユーザー bluemeganebluemegane
提出日時 2023-02-17 22:43:19
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 353 bytes
コンパイル時間 1,975 ms
コンパイル使用メモリ 62,824 KB
実行使用メモリ 22,708 KB
最終ジャッジ日時 2023-09-26 20:01:47
合計ジャッジ時間 2,341 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,840 KB
testcase_01 AC 56 ms
20,804 KB
testcase_02 AC 57 ms
20,684 KB
testcase_03 AC 57 ms
22,708 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using static System.Math;
using System.Collections.Generic;
using System.Linq;
using System;

public class Hello
{
    static void Main()
    {
        var t = int.Parse(Console.ReadLine().Trim());
        while (t-- > 0)
        {
            var n = long.Parse(Console.ReadLine().Trim());
            Console.WriteLine(n * (n + 1));
        }
    }
}
0