diff --git a/QUSTOJ/1857.cpp b/QUSTOJ/1857.cpp new file mode 100644 index 0000000..d4466f9 --- /dev/null +++ b/QUSTOJ/1857.cpp @@ -0,0 +1,41 @@ +#include +#include +using namespace std; + +int main() +{ + vector vec; + int n; + cin>>n; + int tmp; + for(int i=0;i>tmp; + vec.push_back(tmp); + } + int m; + cin>>m; + bool flag=false; + for(int i=0;i