3 条题解

  • 2
    @ 2024-7-25 12:27:35

    参考答案:

    #include<iostream>
    using namespace std;
    int main()
    {
        int a, b;
        cin >> a >> b;
        cout << a % b << endl;
    
        return 0;
    }
    
    • 1
      @ 2024-12-5 18:12:18
      #include<stdio.h>
      int main(void)
      {
      
          int a, b;
          scanf("%d%d",&a,&b);
          printf("%d",a%b);
          return 0;
      }
      • 0
        @ 2025-10-13 9:23:58

        Python

        a,b=map(int,input().strip().split())
        ans = a%b
        print(ans)
        
        • 1

        信息

        ID
        15
        时间
        1000ms
        内存
        256MiB
        难度
        5
        标签
        递交数
        19
        已通过
        14
        上传者