若以下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;
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析