4 条题解

  • 4
    @ 2025-1-22 17:29:56

    直接输出0就行了~~

    • 1
      @ 2025-5-10 10:51:02
      #include<bits/stdc++.h>
      using namespace std; 
      int main(){ 
          int a,b,c,ant=0;
          cin>>a>>b>>c;
          for(int i=1;i<c;i++){
          	for(int j=1;j<c;j++){
          		if(i*a+j*b==c){
          			ant++;
      			}
      		}
      	}
      	cout<<ant;
      	return 0;
      }
      
      • 1
        @ 2025-5-10 10:42:53
        #include<bits/stdc++.h>
        using namespace std; 
        int main() { 
            cout<<"0";
        	return 0;
        }
        
        • 1
          @ 2025-5-10 10:42:44

          666

          • 1

          信息

          ID
          92
          时间
          1000ms
          内存
          128MiB
          难度
          2
          标签
          (无)
          递交数
          49
          已通过
          31
          上传者