第28300题 单选题
若以下C++代码运行时输入`1234567 89`,则变量a和b的最终值分别为?

代码如下:

#include <iostream>
#include <iomanip>
using namespace std;
int main() {
    int a, b;
    cin >> setw(3) >> a >> setw(2) >> b;
    cout << a << " " << b;
    return 0;
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析