#include<bits/stdc++.h> using namespace std; int main(){ int q,w,e,r=0; cin>>q>>w>>e; for(int i=w;i<=e;i++){ if(i%q0||i%10q){ r+=i; } } cout<<r; return 0; }

0 comments

No comments so far...

Information

ID
2579
Time
1000ms
Memory
256MiB
Difficulty
6
Tags
(None)
# Submissions
46
Accepted
15
Uploaded By