diff --git a/HDOJ/2022.cpp b/HDOJ/2022.cpp new file mode 100644 index 0000000..4bc11e6 --- /dev/null +++ b/HDOJ/2022.cpp @@ -0,0 +1,50 @@ +#include +#include +#include +#include +#include + +#include +#include +#include + +/// This Contest and Compile does not support C++11. +//#include +//#include +//#include +//#include + +using namespace std; + + + +int main() +{ + //cout<<"Hello World!"<>m) + { + cin>>n; + int maxABS=0; + int oVal=0; + int maxLine=-1,maxCol=-1; + for(int line=0;line>temp; + if(abs(temp)>maxABS) + { + maxABS=abs(temp); + oVal=temp; + maxLine=line+1; + maxCol=col+1; + } + } + } + cout<