Sum of squares
Find the sum of the squares of two numbers.
Specifications
Input
The input file contains two integers A and B. The numbers do not exceed 109 in absolute value.
Output
Bring in the output file a single integer - A2+B2.
Problem information
Time Limit: 1 secondsMemory Limit: 64 MB
Balls for the passed test: 11.1111
Complexity: 12% 498/564
Example
Example input2 3 |
Example output13 |
| ← The sum of two | Problems | The sum of all → |
