Find the sum of even numbers up to n.
EasyProblem Statement
Find the sum of even numbers up to n.
Sample Input
n = 10
Sample Output
Sum = 30
Limits
Time: 2s · Memory: 256 MB
Find the sum of even numbers up to n.
n = 10
Sum = 30
Time: 2s · Memory: 256 MB