- Category:
- CSharp
- Tags:
-
[Text]
- File Size:
- 4kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- yhyhyhhhf
Description: Topic: training ground n (1 ≤ n ≤ 50000) were the same height are not lined up his soldiers from left to right, followed by numbered 1,2, ..., n. No. i soldiers height H (i), as a result of the use of special units, H (i) satisfy 1 ≤ H (i) ≤ 2000000000. I set up the first of the soldiers the right than his most recent high-soldiers numbered j, the first soldiers i can see is that the right side of his soldiers than his dwarf the number of S (i) = ji-1. (Without regard to objective factors, such as vision scope-,-) for S (1)+ S (2)+ ...+ S (n).
To Search:
File list (Check if you may need any files):
第51次编程题目.txt
答案一.txt
答案七.txt
答案三.txt
答案二.txt
答案五.txt
答案六.txt
答案四.txt