首页
比赛
题库
课程
竞赛讨论区
登录
/
注册
去牛客
首页
>
数列操作
2条解析
开通博客写题解
sunny_forever
发表于 2021-08-21 19:06:46
打鼹鼠 二维前缀和 + 树状数组(二维) Code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 5000; ll tr[N][N]; int n,m; int
展开全文
minux_sufe
发表于 2020-07-11 01:20:55
#include <cstdio> #include <cstring> using namespace std; typedef long long LL; const int N=1e6+5; LL tr[N]; int n, q; inline int lowbit
展开全文
查看本题
查看本题讨论
等你来战
查看全部
第十二届成都信息工程大学ACM程序设计竞赛同步赛
报名截止时间:2025-06-22 15:00
牛客周赛 Round 97
报名截止时间:2025-06-22 21:00
牛客挑战赛80
报名截止时间:2025-06-27 22:00
第五届上海理工大学程序设计全国挑战赛
报名截止时间:2025-06-28 17:30
牛客周赛 Round 98
报名截止时间:2025-06-29 21:00
2025牛客暑期多校训练营1
报名截止时间:2025-07-15 17:00
2025牛客暑期多校训练营2
报名截止时间:2025-07-17 17:00
扫描二维码,关注牛客
意见反馈
下载牛客APP,随时随地刷题