您当前的位置: 首页 > 

钟钟终

暂无认证

  • 2浏览

    0关注

    233博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

div2. #722 B

钟钟终 发布时间:2021-05-25 23:20:12 ,浏览量:2

B. Sifid and Strange Subsequences

A sequence (b1,b2,…,bk) is called strange, if the absolute difference between any pair of its elements is greater than or equal to the maximum element in the sequence. Formally speaking, it’s strange if for every pair (i,j) with 1≤it; while(t--) { int n,g=1,cnt=0; cin>>n; for(int i=1;i>a[i]; if(a[i]

关注
打赏
1664378814
查看更多评论
立即登录/注册

微信扫码登录

0.0409s