結果

問題 No.2216 Pa1indr0me
ユーザー ytftytft
提出日時 2023-02-24 13:56:25
言語 C
(gcc 12.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 165 bytes
コンパイル時間 1,109 ms
コンパイル使用メモリ 27,256 KB
実行使用メモリ 4,372 KB
最終ジャッジ日時 2023-10-09 23:14:00
合計ジャッジ時間 1,817 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

#include<stdio.h>
void solve(){
	long long a;
	scanf("%d",&a);
	printf("%lld\n",a*(a+1));
}
int main(){
	int T,i;
	scanf("%d",&T);
	for(i=0;i<T;++i){
		solve();
	}
}
0