mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-05 02:26:26 +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;
|
||
|
}
|