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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    userId_undefined

    zsy

    题解仙人出道萌新7月全勤卷王时间刺客时空双修者秩序白银
    10阅读
    0回复
    0点赞
  • python

    a,b,c = map(int,input().split()) num = [] for i in range(1000 , 10000): if i % a ==0 and (i+1) % b == 0 and (i+2) % c == 0 : num.append(i) if num: print(max(num)) else: print('Impossible')

    userId_undefined

    WZA

    倔强青铜I/O·IO入门者递归·套娃学徒字符串·魔法使分支·分支解题者
    2阅读
    0回复
    0点赞
  • 题解

    #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; for(int x=9999;x>=1000;x--){ if((x%a0)&&((x+1)%b0)&&((x+2)%c==0)){ cout<<x<<endl; return 0; } } cout<<"Impossible"; return 0; }

    userId_undefined

    LS_YZY

    题解仙人出道萌新时空双修者模拟·模拟练习生倔强青铜快乐小狗
    1阅读
    0回复
    0点赞
首页