Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: qiuhe Download
 Description: Problem description For 1+ 2+ 3+... The value of+ n. Input format Input includes an integer n. The output format Output one line, including an integer, said 1+ 2+ 3+... The value of+ n. The sample input 4 Sample output 10 The sample input 100 Note: there are some questions will give more groups of sample input and output to help you better. To solve the problem. General before submit all these samples need to be test pass, but that doesn t mean that the groups of sample data is correct for your application is completely correct, potential errors may still leads to lower your score. Sample output 5050 The data scale and conventions 1 < = n < = 1000000000. Note: please note that the data size here. That directly bear on the idea is to direct the use of a loop to accumulate, however, when the data size is large, this kind of "violence" approach often leads to a timeout. At this point you need to think about other methods. You can give it a try, if you use 1
 To Search:
File list (Check if you may need any files):
 

3.序列求和\序列求和.cpp
..........\序列求和.exe
..........\序列求和.o
3.序列求和
    

CodeBus www.codebus.net