这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《样例/自测可过,交上去全WA 悬赏关注》回复:
发帖的时候不小心在底下多打了一个等号,请忽略
```cpp #include using namespace std; struct node{ string name; int num; }s[1010]; string x; string nm; string last,now; inline int cmp(const node &a,const node…
在讨论《数据生成器》回复:
可我电脑上没装Python
后6个点会WA 代码: ```cpp #include using namespace std; int prime_list[10010],cnt=0; bool prime[40010]; void Prime(){ int n=31650; prime[1]=true; for(int i=2;i x) brea…
在讨论《树状数组70pts求调》回复:
知道了,是$m$写成了$n$,
在讨论《树状数组70pts求调》回复:
可是开了```long long```后仍 $\color{red}WA$ 啊 ```cpp #include #define ll long long using namespace std; ll bit[1000010]; inline ll lowbit(ll x){ return x&-x; } inline…
在讨论《树状数组70pts求调》回复:
@[sunrise1024](https://www.luogu.com.cn/user/368884) 谢谢啦
```cpp #include using namespace std; int bit[1000010]; inline int lowbit(int x){ return x&-x; } inline void add(int n,int i,int value){ while(i 0) { sum+=bit[i]…
尝试差分做法,请问如何优化? ```cpp #include using namespace std; typedef long long ll; const int N = 1000010; ll a[N],s[N],op,n,m,l,r,k; inline void add1(ll l, ll r, ll p){…
在讨论《关于快读》回复:
多谢大佬们相助
在讨论《请问小数的绝对值是什么函数?》回复:
fabs是可以求小数的绝对值,abs只能求整数的绝对值,要调用cmath(c语音用math.h)