87 solutions

  • 0
    @ 2026-6-27 18:08:44

    #include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; int d=0; int c=0; for(int i=a;i<=b;i++) { c=0; for(int s=2;s<i;s++) { if(i%s0) { c++; } } if(c0) { d++; } } cout<<d; return 0; }

    Information

    ID
    838
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    # Submissions
    878
    Accepted
    160
    Uploaded By