#13926. [GESP202609 一级 C++] 第 12 题
[GESP202609 一级 C++] 第 12 题
下列 C++ 代码执行时如输入 35 ,输出如下图所示。横线处应填入的代码是( )。
35 34 33 32 31 30 29 28 27 26
25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8 7 6
5 4 3 2 1
int N, tot, i;
cin >> N;
tot = 0;
for (i = 0; i < N; i++) {
printf(__________);
tot = tot + 1;
if (tot % 10 == 0)
printf("\n");
}
{{ select(1) }}
"%3d", N"%3d", N - iN - iN