Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Study
Tests (
)
Solved
My problems
Profile
Олимпиадный тренинг
Задача
23242
.
Sum of Sequence Numbers - Task 3
Задача
Темы:
Цикл for
Write a program that finds not just the sum, but the sum of the squares of integers from a to b (a and b are entered from the keyboard)
Example:
Input:
1 5
Output
55
Clarification of the answer:
(1*1+2*2+3*3+4*4+5*5=55)
1000
ms
32 Mb
Правила оформления программ и список ошибок при автоматической проверке задач
Комментарий учителя