'commit'
This commit is contained in:
17
TangDou/AcWing/DP/Tree/Test.cpp
Normal file
17
TangDou/AcWing/DP/Tree/Test.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user