本尊乃大爱仙尊
本尊乃大爱仙尊
全部文章
分类
归档
标签
去牛客网
登录
/
注册
本尊乃大爱仙尊的博客
全部文章
(共2篇)
题解 | 栈的压入、弹出序列
class Solution { public: bool IsPopOrder(vector<int>& pushV, vector<int>& popV) { int pushi=0,popi=0; stack<i...
2025-03-31
0
16
题解 | 字符串最后一个单词的长度
#include <iostream> using namespace std; int main() { string str; //用cin>>str遇到空格会结束 while(getline(cin,str)) { size...
2025-03-26
0
17