07 2023 档案

摘要:晚来了一小时,终榜14名,血亏 https://ac.nowcoder.com/acm/contest/61132 A题不会,我选择oeis n=int(input()) print(n*(n+1)*(n+2)//6%1000000007) python代码 B题考虑线段树f[x][i][0]表示如 阅读全文
posted @ 2023-07-12 17:23 zzuqy 阅读(177) 评论(1) 推荐(0) 编辑
摘要:首先我没参加机试,所以我都是口胡的做法,大概率能对吧 简单模拟,双指针或者什么的搞一搞,使用getline输入 string s; int n; void work() { getline(cin,s); n=s.length(); for(int i=0;i<n;i++) { int j=i; w 阅读全文
posted @ 2023-07-01 12:40 zzuqy 阅读(629) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示