摘要:
#includeint main() {char s[200];__int64 r,nb,ns,nc,pb,ps,pc,i,sum,tob,tos,toc;while(scanf("%s",s)!=EOF) {scanf("%I64d%I64d%I64d",&nb,&ns,&nc);scanf("%... 阅读全文
摘要:
#include#define N 210000struct node { int x,next; __int64 count,vec;}pre[N];int n,flag;int find(int x) { if(x==n+1) return n+1; if(pre[x].count>pre[... 阅读全文