You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include <iostream>
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
/*
|
|
|
|
|
输入:
|
|
|
|
|
1 (4) 5
|
|
|
|
|
|
|
|
|
|
期望:a=1,c=4,d=5
|
|
|
|
|
*/
|
|
|
|
|
char b;
|
|
|
|
|
int a, c, d;
|
|
|
|
|
cin >> a >> b >> c >> b >> d;
|
|
|
|
|
cout << a << " " << c << " " << d << endl;
|
|
|
|
|
cout << typeid(b).name() << endl;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|