TLE自动机
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; const int mod=1000000007; long long n; int pr,nf,nu,num[105],ans,a[105][105][3],cur[105][105][2],maxn=0; bool vis[105][2];…
在讨论《样例没过,求调》回复:
此贴完结
```cpp #include using namespace std; long long n,p,q,r,t,u,v,w,x,y,z,num[15],ans[4],a[15][15][3],cur[15][15][2],mod; void mul(long long x,long long y,long long…
## Problem 1 The symbols $(a,b,\ldots,g)$ and $[a,b,\ldots, g]$ denote the greatest common divisor and least common multiple, respectively, of the positive inte…
## Problem 1 Find the value of $a_2+a_4+a_6+a_8+\ldots+a_{98}$ if $a_1$, $a_2$, $a_3\ldots$ is an arithmetic progression with common difference 1, and $a_1+a_2+…
## $\mathrm{AMC\ 8/AJHSME}$ ## $\mathrm{AMC\ 10}$ ## $\mathrm{AMC\ 12/AHSME}$ ## $\mathrm{AIME}$ [$\mathrm{AIME1983}$](https://www.luogu.com.cn/article/r3duu623…
## Problem 1 Let $x$, $y$ and $z$ all exceed $1$ and let $w$ be a positive number such that $\log_xw=24$, $\log_y w = 40$ and $\log_{xyz}w=12$. Find $\log_zw$.…
rt,除了#2,全WA。 ```cpp #include using namespace std; long long n,a[35005]={-10000000000},dp[35005],trans[35005],lis[35005]={-1},lislen=0,total_ans=0x3f3f3f3f3f3f3f…
在讨论《站外题求助(悬关)》回复:
谢谢,此帖结。
在讨论《站外题求助(悬关)》回复:
@[rhn7](/user/760998) 题解在哪里看?
## 题目描述 有一个数列 $a_1,a_2,a_3,\cdots$。其中,$a_1=1,a_{i+1}=a_i+count\_bit(a_i)$。 $count\_bit(x)$ 为 $x$ 在二进制中 $1$ 的数量。 给出 $N$,求 $N$ 在数列 $a$ 中是第多少项,若 $N$ 不在数列 $a$ 中,输出…
Git用`git push -u origin master`上传到Github仓库时出现 `ssh: connect to host github.com port 22: Connection refused fatal: Could not read from remote repository.` 怎么回事啊?…
VScode 运行代码时出现了以下窗口是怎么回事啊??? 
在讨论《关于map中count函数(悬关)》回复:
@[XX_Traveller_XX](/user/878013) 可是我要的是map套map怎么写啊?
在讨论《求助站外题(悬关)》回复:
谢谢,已关,此帖完结。
### 题目描述 下图为一个开关阵列,每个开关只有“开”和“关”两种状态,按其中一个开关 $1$ 次,将导致自身和所有相邻的开关改变状态。例如,按 $\left(2,2\right)$ 将导致 $\left(1,2\right),\left(2,1\right),\left(2,2\right),\left(2,3\r…
在讨论《CSP 2023 游记集合贴》回复:
[https://www.luogu.com.cn/blog/small-stone/csp-j2023-you-ji](https://www.luogu.com.cn/blog/small-stone/csp-j2023-you-ji)
在讨论《csp-j T2 95pts 求救》回复:
那我也求救一下T2吧,90pts。 代码: ```cpp #include using namespace std; long long n,d,v[100005],a[100005],sum[100005],minn[100005],idx[100005],pos=0,ans=0,cnt=0; struct node…
在讨论《KMOI R1赛时答疑帖》回复:
qp
在讨论《说句闲话:研究珂学的最好方法是》回复:
考古
在讨论《Daily OI Round 1 赛后总结帖》回复:
qp
在讨论《Daily OI Round 1 赛时答疑帖》回复:
qp
在讨论《萌新求助数学问题》回复:
@[Argvchs](/user/533270) 对不起,我把一个常数忽略了 $$ \sum _ { i = 0 } ^ \infty ( x ^ { \frac 1 { 2 ^ { i } } } -1)$$
在讨论《求调(赏关)》回复:
题目说的是严格大于,不含等于的。 要把`if (a[1] < 0 || a[2] < 0)`改成`if (a[1] <= 0 || a[2] <= 0)`。
在讨论《萌新求助数学问题》回复:
@[cancan123456](/user/448887) 这不是 $ n + \sqrt {n} + \sqrt {\sqrt{n}} +\sqrt {\sqrt{\sqrt{n}}}+…$ 吗?QAQ
算时间复杂度时碰到这个东西,请各位大佬给出推导结果和过程,萌新求助QAQ。 $$ O ( \sum _ { i = 0 } ^ \infty n ^ { \frac 1 { 2 ^ { i } } } ) $$
在讨论《【数学】递推转通项求助》回复:
我打了个表。 1 1 1 1 1 1 3 5 7 1 5 13 1 7 1 顺时针旋转45度得 1 1 1 1 3 1 1 5 5 1 1 7 13 7 1 就是杨辉三角每个数 $ \times 2 - 1$。 因此,$f_{i,j}=C^{j-1}_{i+j-2} \times 2 -1$。 记得关注,别白嫖。