I want to make a vote like this.
Can somebody teach me? Thanks.
(If you teach me I'll upvote all your blogs and comments).
# | User | Rating |
---|---|---|
1 | tourist | 3856 |
2 | jiangly | 3747 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3591 |
6 | gamegame | 3477 |
7 | Benq | 3468 |
8 | Radewoosh | 3462 |
9 | ecnerwala | 3451 |
10 | heuristica | 3431 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | -is-this-fft- | 162 |
3 | Dominater069 | 160 |
4 | Um_nik | 158 |
5 | atcoder_official | 156 |
6 | Qingyu | 152 |
6 | djm03178 | 152 |
6 | adamant | 152 |
9 | luogu_official | 149 |
10 | awoo | 147 |
I want to make a vote like this.
Can somebody teach me? Thanks.
(If you teach me I'll upvote all your blogs and comments).
Hello everybody! I'm going to write a report about the contribution score.
Subject to subjective factors:The contribution score is highly dependent on the voting of other users. User voting is highly subjective. Due to personal preferences, differences in opinions, etc., a blog or comment with good content quality may receive a low score, and vice versa. As a result, the contribution score cannot accurately reflect the actual contribution of users.
As a student,our main goal is to improve CP ability but not socializing.
What I want to express from this post is:
Ignore your contribution score,don't metion downvotes,say whatever you like.
Improve your CP ability instead of doing nonsense.
can somebody tell me how to reach pupil,I tried very hard but can't even AC a *800 problem in div.2
thanks.
the contributor list said my contribution score is -65,but my profile said my score is -66.
what's wrong
I tried @tourist ,but it didn't work.
upd:i asked gpt but it still didn't work.can somebody give me the markdown?i'll be very thankful
#include<bits/stdc++.h>
using namespace std;
#define int long long
const int N=2E5+5,MOD=1LL<<32;struct tree{int l,r,sum,lcm;}t[N<<2];int a[N];int lcm(int x,int y){return x/__gcd(x,y)*y;}void pushup(int u){int l=u<<1,r=u<<1|1;t[u].sum=(t[l].sum+t[r].sum)%MOD;t[u].lcm=lcm(t[l].lcm,t[r].lcm);}void build(int u,int l,int r){t[u].l=l,t[u].r=r;if(l==r){t[u].sum=t[u].lcm=a[l];return;}int mid=(l+r)>>1;build(u<<1,l,mid);build(u<<1|1,mid+1,r);pushup(u);return;}void update(int u,int l,int r,int x){if(x%t[u].lcm==0)return;if(t[u].l==t[u].r){t[u].sum=t[u].lcm=__gcd(t[u].sum,x);return;}int mid=(t[u].l+t[u].r)>>1;if(l<=mid)update(u<<1,l,r,x);if(r>mid)update(u<<1|1,l,r,x);pushup(u);return;}int query(int u,int l,int r){if(l<=t[u].l&&t[u].r<=r)return t[u].sum;int mid=(t[u].l+t[u].r)>>1,ans=0;if(l<=mid)ans=(ans+query(u<<1,l,r))%MOD;if(r>mid)ans=(ans+query(u<<1|1,l,r))%MOD;return ans;}signed main(){int n,m,op,l,r,x;cin>>n>>m;for(int i=1;i<=n;++i)cin>>a[i];build(1,1,n);while(m--){cin>>op>>l>>r;if(op==1){cin>>x;update(1,l,r,x);}else{cout<<query(1,l,r)<<endl;}}return 0;}
qp
and orz
have the same meanings.
but why people who send orz
usually get upvotes:

and people who send qp
always get downvotes.
upd: Gramma Error found in the title(excuse my poor grammar)
rt.His contribution score is +250,much higher than +169.
Name |
---|