diff --git a/HDOJ/3527.cpp b/HDOJ/3527.cpp new file mode 100644 index 0000000..5f99c5e --- /dev/null +++ b/HDOJ/3527.cpp @@ -0,0 +1,46 @@ +#include +using namespace std; + +int main() +{ + ios::sync_with_stdio(false); + cin.tie(0); + int a, b, c; + string name; + while (cin >> a >> b >> c) + { + set s; + vector v; + for (int i=0; i> name; + s.insert(name); + } + for (int j=0; j> name; + if (s.count(name)) v.push_back(name); + } + for (int k=0; k> name; + for (int i=0; i