真是走了好远的一段路啊。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
``` #include using namespace std; int n,k,t; struct node{ int v,next; }ed[200010]; int head[100010],cnt=0; int st[100010]; int ans=0; inline void add(int u,int…
在讨论《明天复赛奥利给!!!》回复:
借你吉言
## 线段树又调不出来了(哭) ```cpp #include using namespace std; typedef long long ll; const int N=1e5+10; struct node{ int l,r;ll sum; int add,mul; }t[N >1; build(q r) ret…
在文章《字符串学习笔记·哈希(HASH)与字典树(Trie)》发表评论:
orz
在讨论《菜鸡40分求助(P8818策略游戏)》回复:
@[AllureLove2410](/user/556455) 谢谢大佬,已经过了orz
在讨论《菜鸡40分求助(P8818策略游戏)》回复:
@[AllureLove2410](/user/556455) 第三组变成0了(正在调,谢谢佬)
在讨论《菜鸡40分求助(P8818策略游戏)》回复:
@[AllureLove2410](/user/556455) 前面把for循环到m写成for循环到n了(修改之后多了5分)
```cpp #include #define int long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch ='0'&&ch >1]+1; for(int i=1;i<=n;i…
# 贪心 样例输出 33.32 ## 感谢大佬 ```cpp #include using namespace std; typedef double dou; dou c,d1,d2;//同题意 dou dis;//油箱满时能行驶的距离 dou ans=0.0; int n; dou nc=0.0;//现在油量 st…
在讨论《大佬救命,线段树代码求调》回复:
@[luckyforzyj](/user/677798) 谢谢大佬
## 看不出来为什么错了 输出 20 25 ```cpp #include using namespace std; typedef long long ll; const int N=1e5+10; struct node{ int l,r;ll sum; ll mul,add; }t[N >1; build(q r…
在讨论《求助大佬输入问题》回复:
@[bamboo123](/user/369181) 谢谢谢谢
在讨论《求助大佬输入问题》回复:
我是傻逼(谢谢宁)
在讨论《求助大佬输入问题》回复:
@[bamboo123](/user/369181) 表示尊敬()
## 我想不明白为什么会多一行输入 ## 挑不出什么毛病了,但输入就是会莫名其妙的多一行,如果把最后多出来的一行输入胡乱输进去,会报错((((((()))))))) ```cpp #include using namespace std; vector son[16010]; int n,a[16010],dp[160…
在讨论《菜鸡求助大佬》回复:
2,7,9,10点错了
## 感觉自己写的没有什么错误,大佬求调() ## ```cpp #include using namespace std; int x1,yy1,x2,yy2; int n,r1=0,r2=0; int bo[100008][2]; void dis1(int x,int y,int z) { bo[z][0]=(x…
在讨论《蒟蒻求救:出现了奇怪的定义错误》回复:
@[cfkk](/user/360273) 我刚刚发现没想到已经给我回帖了,谢谢大佬(流泪)
在讨论《蒟蒻求救:出现了奇怪的定义错误》回复:
大佬不用看了,我忘了加```using namespace std``` (蒟蒻流泪) 但它为什么会只报max的错误?
## 今天一如往常在撸题 ## 终于想出思路了,快打出来 然后。。 ```cpp #include int n,m; int a[400],b[10]; int dp[50][50][50][50]; int main() { memset(b,0,sizeof(b)); scanf("%d%d",&n,&m); fo…
在讨论《为什么定义变量不能用y1?(蒟蒻求助)》回复:
谢谢谢谢大佬(给挑挑代码错误也可以)(得寸进尺)
## 今天一如既往的在A题 ## 然而出了关于变量的定义出了一点点小问题 请看代码: ```cpp #include using namespace std; int x1,y1,x2,y2;//这里定义变量y1报错了 int n,r1=0,r2=0; int bo[100008][2]; void dis1(int…
在讨论《归并排序全wrong求助》回复:
会了会了谢谢还没看的大佬()
## 求助全wrong ```cpp #include #include #include #include #include #include #include using namespace std; const int mod=99999997; long long n,ans=0; long long x[10…
在讨论《2,10RE,7,8,9WA50分求助!》回复:
@[hhdxgd](/user/438544) 我的问题()
#求助!为什么有两个RE和三个WA ```cpp #include #include #include #include #include #include #include #include using namespace std; deque q; long long a[100009],n,k; int main…