acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 题解

    userId_undefined

    法兰西玫瑰

    65阅读
    2回复
    2点赞
  • 题解

    userId_undefined

    法兰西玫瑰

    26阅读
    0回复
    1点赞
  • 题解

    #include <iostream> using namespace std; int main(){ int n,ans=0,maxv=-1; cin>>n; for(int i=0;i<n;i++) { int a,b; cin>>a>>b; if(a>=90&&a<=140&&b>=60&&b<=90) ans++; else{ if(ans>maxv) maxv=ans; ans=0; } } if(ans>maxv) maxv=ans; cout<<maxv<<endl; return 0; }

    userId_undefined

    Voldemort

    27阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    晴破夜水人

    出道萌新时空双修者枚举·枚举小能手题解仙人递归·套娃学徒分治·分治练习生
    11阅读
    0回复
    1点赞
  • 点赞后看,包AC!

    #include<iostream> using namespace std; int main(){ int n; int a,b; int t=0; int c[105]={0}; int maxn=0; }

    userId_undefined

    蘭亭

    循环·循环打卡人分支·分支解题者I/O·IO入门者倔强青铜
    2阅读
    0回复
    1点赞
  • 函数运用 + minmax

    userId_undefined

    回来看看

    出道萌新倔强青铜
    11阅读
    0回复
    0点赞
首页