acgo题库
  • 首页
  • 题库
  • 学习
  • 天梯
  • 备赛

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
  • 竞赛
  • 讨论
  • 团队
登录
注册
题目详情提交记录(0)
  • 欢乐赛#53 T4 题解 100% AC

    userId_undefined

    飞的智动

    8月全勤卷王出道萌新题解仙人时空双修者秩序白银快乐小狗
    76阅读
    0回复
    6点赞
  • 题解

    ACGO欢乐赛#53 T4题解

    userId_undefined

    zyz610

    30阅读
    0回复
    1点赞
  • 欢乐赛#53 T4

    userId_undefined

    请输入文本.

    10月全勤卷王小有名气时空双修者题解仙人快乐小狗
    9阅读
    0回复
    1点赞
  • 【求点赞】

    #include<bits/stdc++.h> using namespace std; const int N=1e5+5; int n,a[N],max1=0,max2=0; int main(){ cin>>n; for(int i=1;i<=n;i++)cin>>a[i]; for(int i=1;i<=n;i++){ if(a[i]%20) max1=max(max1,a[i]); else if (a[i]%2!=0) max2=max(max2,a[i]) ; } if(max10||max2==0) cout<<-1; else cout<<max1+max2; return 0; }

    userId_undefined

    ༺ཌༀ等我买把宗师ༀད༻

    时空双修者题解仙人字符串·魔法使秩序白银快乐小狗数组·数组操作员
    4阅读
    0回复
    1点赞
  • 题解

    userId_undefined

    zsy

    题解仙人时空双修者BUG超度大师秩序白银快乐小狗
    7阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    无敌的鳖佬仔给老爷爷猜猜被

    7月全勤卷王秩序白银时间刺客空间掌握者循环·循环打卡人I/O·IO入门者
    5阅读
    0回复
    0点赞
暂无数据

提交答案之后,这里将显示提交结果~

首页