Dream&possible
Dream&possible
全部文章
题解
归档
标签
去牛客网
登录
/
注册
Dream&possible的博客
全部文章
/ 题解
(共3篇)
题解 | #提取不重复的整数#
#include<bits/stdc++.h> using namespace std; int main() { string str; cin>>str; int num=str.size(); int temp[10]={0}; for(int i=num-1;i>...
C++
2022-02-20
0
224
题解 | #合法IP#
#include #include using namespace std; bool isIPAddressValid(const char* pszIPAddr) { if (!pszIPAddr) return false; //若pszIPAddr为空 char IP1[100],cIP...
C++
2022-02-12
0
405
题解 | #最长回文子串#
">using namespace std; //动态规划之区间DP int dp[1000][1000]; int main() { string str; getline(cin,str); int num=str.size(),temp=1; memset(d...
C++
动态规划
字符串
2022-01-28
0
340