这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《请问NOIP可以用<cctype>库么》回复:
谢谢各位dalao
请问NOIP可以用 库么 (因为我想这种读入优化) ```cpp #include inline ll read(){ ll x=0,w=0;char c=0; while(!isdigit(c)){w|=c=='-;c=getchar();} while(isdigit(c))x=(x<<3)+(x<<1)+c^48…
在讨论《树状数组过不去了,可是为什么嘞?》回复:
@[sak_ma](/space/show?uid=28064) dalao 原谅我改了您的代码。(这个题好像要离散化(范围太大了),并且要开long long,至于树状数组的合并与查询操作我还是觉得写在函数里舒服点......)(我太弱了) ```cpp #include #include #include usin…
求dalao纠错 ```cpp #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; template inline void read(T &…
在讨论《随便刷个水题,竟然被卡死在49分上。。。》回复:
```cpp #include using namespace std; const double pi=3.1415926535897; int n; double x[101],y[101],r,s; int main(){ scanf("%d %lf",&n,&r); double ans=(double)2*p…
在讨论《随便刷个水题,竟然被卡死在49分上。。。》回复:
@[咪嗷呜喵](/space/show?uid=61312) dalao,您的 $ s=(double)sqrt((x[i]-x[i-1])*(x[i]-x[i-1])+(y[i]-y[i-1])*(y[i]-y[i-1])); ans+=s; $ 好像范围不太对吧,因为您如果要计算$x[i]-x[i-1]$的话,fo…
在讨论《话说NOIp PJ复赛允许使用STL吗》回复:
@[MKL_SCAR](/space/show?uid=83345) 请问dalao,怎样用stl读入啊
在讨论《70分?》回复:
@[w_x_c_q](/space/show?uid=87942) 您$a[i]$,$b[i]$两个数组范围开小了吧,您改成1e5+10,试试,好像可以过
在讨论《我该来洛谷的》回复:
@[_虹_](/space/show?uid=56184) 我才是
在讨论《求助,总感觉这样做是错的》回复:
您太强了
在讨论《莫名WA》回复:
(弱弱的问一句)题目是要是要换行么.....
在讨论《这个我也能写挂,还是蛮佩服自己的》回复:
加油。
在讨论《求大神!为什么30分,感觉没问题啊....》回复:
tql
求大佬救我,为毛总是WA,样例都过了。 ```cpp #include #include #include #include //我太弱了 #include using namespace std; typedef long long ll; inline ll read(){ ll ch=0,w=1;char c=g…
在讨论《裸的kruskal》回复:
#include #include #include #include #include #include using namespace std; const int A = 50001; struct city{int u,v,w;}a[A];//结构体city int father[A]; int n,m,fx,…