結果

問題 No.3107 45^2
ユーザー 枝豆
提出日時 2025-04-19 10:19:28
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 160 bytes
コンパイル時間 923 ms
コンパイル使用メモリ 65,244 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-19 10:19:29
合計ジャッジ時間 1,673 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main()
{
	int q1 = 0;
	int q2 = 0;
	cin >> q1;
	for(int a1 = 0;a1 < q1;a1++)
	{
		q2 = q2 * q1;
	}
	cout << q2;
}
0