摘要:
"题目" 1A c++ O(n^2) class Solution { public: int trap(vector& height) { int ans=0; for(int i=1;iheight[i 1]) { int pos=0; for(int j=i 2;j =0;j ) { if(h 阅读全文
posted @ 2019-08-13 11:36
Shendu.CC
阅读(89)
评论(0)
推荐(0)
浙公网安备 33010602011771号