結果

問題 No.3447 Power Projection(constant)
コンテスト
ユーザー 00 Sakuda
提出日時 2026-02-20 21:33:21
言語 C++23
(gcc 15.2.0 + boost 1.89.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 417 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,164 ms
コンパイル使用メモリ 211,068 KB
実行使用メモリ 7,972 KB
最終ジャッジ日時 2026-02-20 21:33:25
合計ジャッジ時間 3,545 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <vector>
#include <iomanip>
#include <map>
#include <set>
#include <numeric>
#include <queue>
#include <deque>
#include <algorithm>
#include <stack>
#include <unordered_map>
#include <math.h>
using namespace std;
using ll = long long;
int main() {
	ll N, A, B;cin >> N >> A >> B;
	ll ans = A;
	cout << ans << endl;
	for (int i = 0;i < N - 1;i++) {
		ans *= B;
		cout << ans << endl;
	}
}
0