这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《关于lca常数优化》回复:
@[NaCly_Fish](/space/show?uid=115864) 谢了
在讨论《求解倍增求LCA的常数优化》回复:
# ------------ ~~~~~~~~~~~~~~~~~~~~
``` #include #include #define long long ll const int mx=200+10; using namespace std; int map[mx][mx]; int day[mx]; const int inf=1e9; int a,b,c; int main(){ cin…
怎么洛谷上编译失败 ``` #include #include #include using namespace std; int n,m;int p; struct stu{ int num,f; }; stu a[10000]; bool cmp(stu x,stu y){ if(x.f!=y.f){ return…
怎么回事,请教一下 #include using namespace std; bool g[15][15],ch[15][15]; int x,y,cx,cy,zo,m,n; int total; int s[5]={-1,0,1,0,-1}; void dfs(int x,int y){ if(x==cx&&y==…
#include using namespace std; int main() { int money,j,a,i,sum,sun,m,n,q,l,p; for(i=1;i >a; money+=300; if((money-a) =0) { q+=money/100; money%=100; money+=q*12…