2 条题解

  • 2
    @ 2025-11-30 9:34:52
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        double a,b;
        cin>>a>>b;
        int x=a/b;
        cout<<a-x*b<<endl; 
        return 0;
    }
    
    • 0
      @ 2026-1-4 22:11:48
      #include <bits/stdc++.h>
      using namespace std;
      int main(){
      	double a,b;
      	cin >> a >> b;
          int  c = a/b;
          cout << a - c*b;
      	return 0;
      }
      
      • 1

      信息

      ID
      6883
      时间
      1000ms
      内存
      128MiB
      难度
      1
      标签
      递交数
      14
      已通过
      10
      上传者