2 条题解

  • 1
    @ 2025-9-7 15:23:04
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int x,y,n=0;
    	cin>>x>>y;
    	for(int i=1;i<=1000;i++)
    		if(i%x!=0&&i%y!=0&&i>n) n=i;
    	cout<<n;
        return 0;
    }
    
    • -1
      @ 2024-12-17 12:34:25
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          cout<<"1145141919810";
      	return 0;
      }
      
      • 1

      信息

      ID
      114
      时间
      1000ms
      内存
      64MiB
      难度
      7
      标签
      递交数
      19
      已通过
      8
      上传者