嗨♪想我了吗♪无论何时何地♪爱莉希雅都会回应你的期待♪
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《10分求调,必关》回复:
给p设为double类型
在讨论《化学的一些问题求解qwq玄关》回复:
1.因为用保存好的碳酸成本远高于直接用水和二氧化碳 2.离子化合物由阴阳离子构成,水会使氧侧靠近阳离子,使氢侧靠近阴离子,从而把阴阳离子分开 现在的初一生就已经开始学化学了吗(震惊)
在讨论《C++快读怎么写?》回复:
```cpp #include using namespace std; #define ll long long inline ll read(){ ll x=0,f=1;char ch=getchar(); while(ch '9'){if(ch=='-')f=-1;ch=getchar();} while(ch>…
在讨论《64分DFS,#1-#6 TLE 求助》回复:
```cpp #include using namespace std; int n,b,s,d[207],ans[207],res=(1 =ans[a]) return; ans[a]=s; if(a==b) { res=min(res,s); // cout =1 && (!v[a-d[a]])) dfs(s+1,…
在讨论《听取WA声一片...... *_*》回复:
?你这输入都错了啊 题目是m * 3,你是m * m
在讨论《有本事举报我》回复:
666
在讨论《80pts求条》回复:
题目说的是>n的而不是>=n的
在讨论《80pts求条》回复:
Hack input 1 output 2 wrongans 1
在讨论《关于逆元》回复:
例如P5142
```cpp /* in 500 300 5 150 50 200 50 175 160 150 270 200 270 out 1 wrong answer 2 */ ``` Hack两篇题解
```cpp #include using namespace std; #define ll long long #define x_lc ((x >1) #define inf (1LL =l&&t[x].r =l) change(x_lc,l,r,y); if(x_mid+1 =l&&t[x].r =l&&x_m…
```cpp #include using namespace std; #define ll long long #define inf (1LL >1) #define leng(x) (t[x].r-t[x].l+1) struct node{ ll l,r; ll cl,cr; ll data; ll tag;…
```cpp #include using namespace std; #define ll long long #define mod 998244353 #define SIZE 10001 ll n,m,r,c,p1,p2; string s1[SIZE],s2[SIZE]; ll kmp(string s){…
```cpp #include using namespace std; #define ll long long #define inf (1LL >1) #define leng(x) (t[x].r-t[x].l+1) struct road{ ll ver,cost,id; }; struct node{ ll…
```cpp #include using namespace std; #define ll long long #define SIZE 1000001 struct block{ ll l,r,n0,n1; }; block new_block(ll l,ll r=0){ block b; b.l=l; b.r=…
```cpp #include using namespace std; #define ll long long #define x_lc (x >1) #define leng(x) (t[x].r-t[x].l+1) inline ll read(){ ll x=0,f=1;char ch=getchar();…
```cpp #include using namespace std; #define x_lc (x >1) #define ll long long struct SegmentTree{ ll l,r; ll data; ll leng(){ return r-l+1; } }; ll a[1000001];…
```cpp #include using namespace std; #define ll long long #define SIZE 500001 struct road{ ll ver,Next; bool bridge; bool puff; }; struct node{ ll head; ll dfn,…
```cpp #include using namespace std; #define ll long long struct road{ ll ver,cost; }; ll n,m,res=(1 r[15]; queue q; void jz2(ll x){ for(ll i=n;i>=0;i--) cout >…
在讨论《在什么情况下可以使用LONG_LONG_MAX/MIN》回复:
可以用(1LL<<62)
```cpp #include using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch '9'){if(ch=='-')f=-1;ch=getchar();} while(ch>='0'&&ch use[10]; v…
```cpp #include using namespace std; #define ll __int128_t #define SIZE 100001 inline ll read(){ ll x=0,f=1;char ch=getchar(); while (ch '9'){if (ch=='-') f=-1;…
在讨论《90pts,TLEon#7#8求优化》回复:
此帖终 进食后人:不能用vector,要用multiset
```cpp #include using namespace std; #define val(k) f[r[x][k].ver].bot+r[x][k].cost #define ll long long #define SIZE 50001 inline ll read(){ ll x=0,f=1;char ch…
1.用高精度,__int128_t只有80pts(#9#10) 2.删前导0不能全删,如果结果为0要留一(#11#12#13) 3.char类型不能超过128所以要先进位再加(#2#5#6#7)
在讨论《40pts求调》回复:
用__int128_t能拿80
```cpp #include using namespace std; #define ll long long ll n,m; string dp[100][100][10]; string s; string cheng(string a,string b){ string res; reverse(a.begi…
```cpp #include using namespace std; #define ll long long #define inf 2147483647 struct BST{ ll lc,rc; ll val,cnt; ll size; }; BST t[1000001]; ll tot,root; ll a…
```cpp #include using namespace std; #define ll long long #define inf 2147483647 struct BST{ ll lc,rc; ll val,cnt; ll size; }; BST t[1000001]; ll tot,root; ll a…
```cpp #include using namespace std; #define ll long long #define lf double ll n,m; lf xx[20],yy[20]; bool vis[20]; ll f[1 line; queue num; void add(ll x){ line…