I walk this earth all by myself
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《求调》回复:
求关QwQ
在讨论《求调》回复:
dp式应该是接前一段(dp[i-1]+a[i])或重新开始(a[i],不是dp[i]) ```cpp #include using namespace std; int n,a[2000010],dp[2000010]; int main(){ cin>>n; for(int i=1;i >a[i]; } dp[0]=…
在讨论《求调》回复:
(暂无内容)
在讨论《8分求调》回复:
求关QwQ
在讨论《8分求调》回复:
求关
在讨论《8分求调》回复:
不用累加第m月的天数 星期几计算错了 ```cpp #include using namespace std; int month[]={0,31,28,31,30,31,30,31,31,30,31,30,31}; int main(){ int m; cin>>m; cout<<"MON TUE WED THU F…
在讨论《40pts,求调,要快!!!!!》回复:
求关QwQ
在讨论《40pts,求调,要快!!!!!》回复:
字符串是高位到低位存储的 你搞反了 ```cpp #include using namespace std; int main(){ int t; cin>>t; while(t--){ string n; cin>>n; int ln=n.size(); long long b=0; for(int i=0;i 9)…
在讨论《90分求条必关》回复:
数组超了 YES不是Yes ```cpp #include using namespace std; const int N=510; int n,in[N],has[N],cnt; vector g[N]; void kahn(){ queue q; for(int i=0;i >n; memset(in,0,siz…
在讨论《35分,求调》回复:
~~这题似乎是DP~~
在讨论《0分求调!!》回复:
- cmp写错了 - sort范围错了 - 输出错了 ```cpp //P1093 [NOIP 2007 普及组] 奖学金 #include using namespace std; struct student{ int num; int sum;//总分 int chinese; int math; int eng…
在讨论《0分求调qwq,互关》回复:
@[马鲁逸尘2014](luogu://user/1555635) 你漏了最后一个灯QwQ ```cpp #include using namespace std; const int MAXN = 2000010; int n,t; double a; int lamp[MAXN] = {0}; int main()…
在讨论《60pts倍增求调》回复:
@[Matthew_Yisen](luogu://user/1834665)
在讨论《60pts倍增求调》回复:
分解二进制位,j要枚举到0 ``` #include using namespace std; int n,m,k; int l[105],r[105]; int f[100005][40]; int a[100005]; int main(){ cin>>n>>m>>k; iota(a,a+n+1,0); for(i…
在文章《如何没理没据地干掉 GCC sort》发表评论:
因此建议是在调用 sort 前保证序列有序!
在讨论《94求调(只WA一个点)》回复:
@[liumuyunG2028](luogu://user/1283971) 感谢大佬,已关
在讨论《94求调(只WA一个点)》回复:
@[liumuyunG2028](luogu://user/1283971) r,c不是才小于等于50吗
```cpp #include using namespace std; #define N 300 int n,m; char mp[N][N]; vector v[N*2]; int x[N][N],cnt,tot; int vis[N]; int mat[N]; bool find(int u,int tim){…
在讨论《关于THUPC》回复:
已经有队伍了OwO
### 题目大意 > 给定两个整数 $a,b$,求满足 $a \mid i!$ 且 $b \nmid i!$ 的整数 $i$ 的数量。 首先可以发现,如果 $a \mid i!$,那对于 $k\geq1$ 有 $a \mid (i+k)!$。 因此,我们可以分解 $n,m$ 后用二分找满足条件的区间,即为: > 找到…
在文章《题解:[CF2129C1] 追忆》发表评论:
我该在何时退役?我问我自己。
``` #include using namespace std; #define db double #define N 15 db z[N][N]; int n; db ans[N]; db ans_min=1e18; db delta=0.993; const int start=2000; const db s…
在讨论《WA 玄关 求hack》回复:
@[zhang20091227](luogu://user/794715)
在讨论《WA 玄关 求hack》回复:
题目让求 $a_x \oplus a_{x+1} \oplus \dots \oplus a_y = k$ 的组数,你$x=1,y=1$ 不就只有 $a_1=2$ 了吗
在讨论《WA 玄关 求hack》回复:
@[zhang20091227](luogu://user/794715) 这个区间只有一个2,不可能异或成0
在讨论《95分求条必关》回复:
``` #include using namespace std; int main(){ int n; cin>>n; int p=n*37; if(p==0){ cout =10&&p =100&&p =1000&&p =10000&&p<=99999){ if(p%11111==0){ cout << "Yes"…
在讨论《为什么TLE了?》回复:
@[Zgz761028](luogu://user/1821402) 感谢大佬,此贴结
90pts,有一个点TLE了。 但是我卡时了,按理说很难TLE。 ``` #include using namespace std; #define db double #define N 20 struct node{db x,y;} z[N]; int n; db ansx,ansy; db ans=1e9; db…
在讨论《萌新刚学模拟退火,求调》回复:
模拟退火的萌新