UVa514

模擬題做的不多,在這一方面比較弱。直接按書上的打了,再慢慢理解,消化。一開始還不理解的,後來看着書上的圖就懂了。(因爲輸入不同,此代碼並不能在oj上ac)有一組數據很奇怪,試了幾次有不同的結果。 #include<iostream> #include<stack> using namespace std; int const maxn=1000+10; int target[maxn]; int
本站公眾號
   歡迎關注本站公眾號,獲取更多信息