3 条题解

  • 1
    @ 2024-3-31 20:54:14

    本题答案

    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        cout<<142857;
        return 0;
    }
    
    
    • 1
      @ 2023-9-27 19:24:37
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          cout << 142857;
          return 0;
      }//A
      
      • 0
        @ 2022-11-6 19:15:12

        嗨害嗨,我来了,今天聊聊P983. 这题不难:主要是枚举!

        for i in range(100000,999999):#枚举
            a=i//100000
            b=i%100000       #------      ------
            if (10*b+a)/i==3:#abcdef * 3= bcdefa 
                print(i)
                break
        

        Loading:13/100……

        • 1

        信息

        ID
        983
        时间
        1000ms
        内存
        64MiB
        难度
        3
        标签
        递交数
        72
        已通过
        37
        上传者