mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 23:08:47 +00:00
15 lines
198 B
C++
15 lines
198 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int v;
|
|
cin >> v;
|
|
|
|
for (int i = 0, x = v; i < 10; i++, x *= 2) {
|
|
printf("N[%d] = %d\n", i, x);
|
|
}
|
|
|
|
return 0;
|
|
}
|