古希腊掌管CE的神|CE哥|又有人JC我|我橙了!!!|加个团85620|蒟蒻|文心一言是**|不到蓝勾不删掉
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在文章《退役感言(生涯回顾)》发表评论:
我也经常CE
1.eps开到1e-9,我开1e-5就全红了 2.**if you WA in hack,you should keep ans in** *check* **is $10^9$**
代码: ```cpp #include using namespace std; #define int long long const int N=1e5+5; const int INF=1e18; int n,m,q,a[N],b[N],lazy[N*4],k,x,y,c[N],d[N],t; int seg1[…
```cpp #include using namespace std; #define int long long char c; int h21=0,d21=0,h11=0,d11=0,t1=1,t2=1; int h2[3005],d2[3005],h1[3005],d1[3005]; signed main()…
在文章《题解:P1727 计算π》发表评论:
有实力
```cpp #include using namespace std; #define int long long string ss,t="123804765"; map vis; int di[5]={-1,1,-3,3}; int h(string s) { int cnt=0; for(int i=0;i b…
```cpp #include using namespace std; #define int long long int t,n,a[100005][5],s[5]; int f(int a,int b,int c) { if(a>b&&a>c) return 1; if(b>a&&b>c) return 2; r…
在讨论《90求调(调出来关注)》回复:
@[wucanrong](luogu://user/1660794) OK,谢谢,马上点关注
```cpp #include using namespace std; #define int long long int n,a[100005],k,en,st,len=-1,last,pre; map mp; signed main() { ios::sync_with_stdio(0); cin.tie(0);…
在讨论《编译失败?!》回复:
应该是我电脑的复制系统有点问题吧 我明明只按了一次Ctrl-V
```cpp #include using namespace std; #define int long long int n,dis[505][505]; signed main() { cin>>n; for(int i=1;i >dis[i][j]; } } for(int k=1;k #define int…
代码 ```cpp #include using namespace std; int n,m; int ans=0; struct ddd { int t,id; }; ddd st[100005][35],st2[100005][35]; bool check(int l,int r) { if(l==r) ret…
在讨论《50求调》回复:
@[wangjunyee](luogu://user/1178961) 我A了,谢谢。马上关注
# 代码 调出关注 [提交记录](https://www.luogu.com.cn/record/222080577) ```cpp #include using namespace std; #define int long long const int N=5e4+5; int n,w[N],ans=-999; s…
# 题解:P4708 画画 [题目传送门](https://www.luogu.com.cn/problem/P4708) ## 思路 发现$ 1 \le n \le 50 $就直接知道可以打表。 ## 代码 也是~~非常~~简单,如果你够聪明你可以~~很快~~打出。 ```cpp #include using nam…
代码: ```cpp #include using namespace std; #define int long long int t,n,a[1000005]; bool s[100000005]; signed main() { ios::sync_with_stdio(0); cin.tie(0); cout.…
在讨论《70分TLE求调》回复:
@[Langke_Saonian](luogu://user/1237546) 对了,我这就点关注
在讨论《70分TLE求调》回复:
@[Langke_Saonian](luogu://user/1237546) 我试试
调对奖关注 ```cpp #include using namespace std; #define int long long inline int read() { int x=0,f=1;char ch=getchar(); while (ch '9'){if (ch=='-') f=-1;ch=getchar(…
在讨论《20分求调,有六个测试点RE了》回复:
谢谢!AC了,点关注了
在讨论《20分求调,有六个测试点RE了》回复:
调出来关注
代码: ```cpp #include using namespace std; #define int long long int n,w,a[100005],zy=0,ans=0; signed main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); c…
# B4185 [中山市赛 2024] 倍数子串 ## 思路: 看样例:04320 先看04:以04或4为结尾的连续子串有 04,4 再看43:以43或3为结尾的连续子串有 ~~43?~~ 实际上什么也没有 接着看32:以32或2为结尾的连续子串有 32,432,0432 最后再看20:以20或0为结尾的连续子串有 0…