网站首页 站内搜索

搜索结果

查询Tags标签: P144,共有 2条记录
  • 算法入门经典P144(静态链表)

    #include<cstdio> #include<cstring> const int maxn = 100005; int last,cur,next[maxn]; char s[maxn]; int main(){while(scanf("%s",s+1)==1){int n = strlen(s+1);last = cur = 0;next[0] = 0;for(int i=1;i<=n;i++){char ch = s[i];if(ch…

    2021/7/19 9:36:01 人评论 次浏览
  • 算法入门经典P144(静态链表)

    #include<cstdio> #include<cstring> const int maxn = 100005; int last,cur,next[maxn]; char s[maxn]; int main(){while(scanf("%s",s+1)==1){int n = strlen(s+1);last = cur = 0;next[0] = 0;for(int i=1;i<=n;i++){char ch = s[i];if(ch…

    2021/7/19 9:36:01 人评论 次浏览
扫一扫关注最新编程教程