You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2014-10-04-as-high-as-ltc.md
+35-27Lines changed: 35 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,39 +7,47 @@ tags: [杭电HDU]
7
7
---
8
8
## Problem
9
9
>**Problem Description**
10
-
Your task is to Calculate the sum of some integers.
10
+
大家提到LTC都佩服的不行,不过,如果竞赛只有这一个题目,我敢保证你和他绝对在一个水平线上
11
+
你的任务是:
12
+
计算方程x^2+y^2+z^2= num的一个正整数解。
11
13
**Input**
12
-
Input contains multiple test cases. Each test case contains a integer N, and then N integers follow in the same line. A test case starting with 0 terminates the input and this test case is not to be processed.
14
+
输入数据包含多个测试实例,每个实例占一行,仅仅包含一个小于等于10000的正整数num。
13
15
**Output**
14
-
For each group of input integers you should output their sum in one line, and with one line of output for each line in input.
0 commit comments