1 solutions

  • 0
    @ 2025-11-5 15:02:06

    C++ :

    #include<iostream>
    using namespace std;
    int main()
    {
      int d;
    	for (d=1;d<=100000;d++)
     if ((d%3==2)&&(d%5==3)&&(d%7==5)&&(d>100))
     { cout<<d<<endl;break;}
      return 0;
    }
    
    • 1

    Information

    ID
    16350
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By