作业帮 > 英语 > 作业

英语翻译Your task is to find the sum of all integer numbers lyin

来源:学生作业帮 编辑:大师作文网作业帮 分类:英语作业 时间:2024/11/12 16:46:55
英语翻译
Your task is to find the sum of all integer numbers lying between 1 and N inclusive.
Input
The input consists of a single integer N that is not greater than 10000 by it's absolute value.
Output
Write to the output file a single integer number that is the sum of all integer numbers lying between 1 and N inclusive
英语翻译Your task is to find the sum of all integer numbers lyin
你的任务是要得出所有1到N之间整数的和.(包括1和N)
输入
输入由单整数N组成,N的绝对值不大于10000.
输出
在输出文件中写出表示所有1到n之间整数之和的单整数.