1 solutions

  • 0
    @ 2024-4-5 12:15:27

    #include<stdio.h>

    int main()

    {

    int n,m,i;

    int num=0;

    scanf("%d %d",&n,&m);

    for(i=n;i<=m;i++)

    {

    if(i%17==0)

    num+=i;

    }

    printf("%d\n",num);

    return 0;

    }

    • 1

    Information

    ID
    6875
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    # Submissions
    10
    Accepted
    8
    Uploaded By