0
点赞
收藏
分享

微信扫一扫

1月21日学习总结

四月Ren间 2022-01-21 阅读 65

1、早上

做本周二叉树和并查集题目的最后两个,做出了一个。(3h)

#include <stdio.h>
main()
{char pre[30],post[30];
 int cnt=1; 
 scanf("%s",pre);
 scanf("%s",post);
 for(int i=0;pre[i];i++)
  for(int j=0;post[j];j++)
   if(pre[i]==post[j]&&pre[i+1]==post[j-1]&&pre[i+1]&&post[j-1])
    cnt*=2;
  printf("%d",cnt);	  
}

2、下午

继续做最后一个题目,题目涉及了Floyd和tarjan知识,所以又看B站和大话数据结构学习相关知识,并写了本周的阅读报告。(2.5h)

今日总共学习时长5.5h。

举报

相关推荐

1月23日学习总结

1月17日学习总结

1月15日学习总结

2022年1月九日学习总结

2022年1月13日学习总结

2022年1月6日学习总结

2022年1月24日学习总结

0 条评论