版本比较
+1 −1增加 1 行删除 1 行
41 行未改动4243444546474841 行未改动 } cout<<(s.empty()?-1:s.top())<<endl; s.push(i); }} ``` 41 行未改动4243444546474841 行未改动 } cout<<(s.empty()?-1:s.top())<<endl; s.push(i); }}```
41 行未改动4243444546474841 行未改动 } cout<<(s.empty()?-1:s.top())<<endl; s.push(i); }} ```
41 行未改动4243444546474841 行未改动 } cout<<(s.empty()?-1:s.top())<<endl; s.push(i); }}```