結果
| 問題 | No.3447 Power Projection(constant) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-12 13:00:06 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 401 bytes |
| 記録 | |
| コンパイル時間 | 1,224 ms |
| コンパイル使用メモリ | 209,640 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2026-03-12 13:00:09 |
| 合計ジャッジ時間 | 2,298 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> pii;
typedef long long ll;
const int N = 2000010, MOD = 1e9 + 7, INF = 0x3f3f3f3f;
int n, m, w[N];
void solve() {
int a, b;
scanf("%d%d%d", &n, &a, &b);
ll t = 1;
for (int i = 0; i < n; i++) printf("%lld\n", a * t), t *= b;
}
int main() {
int T = 1;
// cin >> T;
while (T--) solve();
return 0;
}