Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(n>=20)
- {
- int i = 0;
- for (cnt1 = 1; cnt1 <= n; cnt1++)
- {
- for(cnt2 = 1; cnt2 <= i; cnt2++)
- {
- sum += (j+1) % i;
- }
- while(i<n)
- {
- i++;
- }
- a *= sum;
- }
- printf("\nA: %d\n", a);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement