• 2023-09-159-15|报错信息
    1448verbosestackatmaybeClose(node:internal/child_process:1093:16)1448verbosestackatProcess.ChildProcess._handle.onexit(node:internal/child_process:302:5)[email protected]:\test_yun_fun\code1451verboseW
  • 2023-07-24POJ 1458 Common Subsequence(动态规划)
    传送门代码如下:#include<iostream>#include<cstdio>usingnamespacestd;intmaxLen[1000][1000];intmain(){strings1,s2;while(cin>>s1>>s2){intlength1=s1.length();intlength2=s2.length();
  • 2023-02-02poj-1458-Common Subsequence
    CommonSubsequenceTimeLimit:1000MSMemoryLimit:10000KTotalSubmissions:43207Accepted:17522DescriptionAsubsequenceofagivensequenceisthegivenseq
  • 2022-12-22POJ-1458 Common Subsequence
    POJ-1458CommonSubsequence题意:首先对最长子序列有个定义:如果一个字符串a可以由另一个字符串b删去某些元素得到,那么说明a就是b的子序列字符串现在有两个字符串,请问最
  • 2022-11-06一本通 1458:Seek the Name, Seek the Fame
    给定若干字符串(这些字符串总长≤4×105​​),在每个字符串中求出所有既是前缀又是后缀的子串长度。 这题应该用kmp.但这里记一下字符串哈希 #include<iostream>#i
  • 2022-10-31【SSL 1458】zzzyyds(DP)
    zzzyyds题目链接:SSL1458题目大意有一个环,一开始全白,每次随机选一个点染黑,如果存在一个白色点两边都是黑色点那它会变成黑色,然后每次染了之后判定白色的数量,如果小于等