We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Project Euler #6: Sum square difference
Project Euler #6: Sum square difference
Sort by
recency
|
274 Discussions
|
Please Login in order to post a comment
Here's my solution:
why my second case isn't executed? for(int a0 = 0; a0 < t; a0++){ int n; cin >> n; int sum=0; int sqsum=0; int sqaure;
why my second case isn't executed? t = int(input().strip())
for a0 in range(t):
Had to look up some formulas and do some algebra.