1 条题解

  • 2
    @ 2026-2-3 11:33:48
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
      int x,y;
      cin>>x>>y;
      for(int i=1000;i>=1;i--){
        if(i%x&&i%y){
          cout<<i;
          return 0;
    	}
      }
    } 
    

    信息

    ID
    270
    时间
    1000ms
    内存
    64MiB
    难度
    5
    标签
    递交数
    20
    已通过
    15
    上传者