Wrong Answer?我是菜鸟,我怕谁Time Limit:2000/1000 MS (Java/Others) Memory Limit:32768/32768 K (Java/Others)Total Submission(s):2507 Accepted Submission(s):1399Problem Descriptionlin2144是一只小菜鸟,都是笨鸟先飞,lin2144想来个菜

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 19:22:55
WrongAnswer?我是菜鸟,我怕谁TimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others)TotalSubm

Wrong Answer?我是菜鸟,我怕谁Time Limit:2000/1000 MS (Java/Others) Memory Limit:32768/32768 K (Java/Others)Total Submission(s):2507 Accepted Submission(s):1399Problem Descriptionlin2144是一只小菜鸟,都是笨鸟先飞,lin2144想来个菜
Wrong Answer?
我是菜鸟,我怕谁
Time Limit:2000/1000 MS (Java/Others) Memory Limit:32768/32768 K (Java/Others)
Total Submission(s):2507 Accepted Submission(s):1399
Problem Description
lin2144是一只小菜鸟,都是笨鸟先飞,lin2144想来个菜鸟先飞,他从0点出发
一开始的飞行速度为1m/s,每过一个单位时间lin2144的飞行速度比上一个单位时间的飞行速度快2m/s,问n (0 < n < 10^5)个单位时间之后lin2144飞了多远?
Input
输入一个T表示为有几组数据
每组数据输入一个n,表示lin2144飞行的时间.
Output
输出lin2144飞行了多远,因为数字很大,所以对10000取模.
Sample Input
2
1
2
Sample Output
1
4
#include
void main()
{
\x05int n,i,j=0;
\x05scanf("%d",&n);
\x05while(j

Wrong Answer?我是菜鸟,我怕谁Time Limit:2000/1000 MS (Java/Others) Memory Limit:32768/32768 K (Java/Others)Total Submission(s):2507 Accepted Submission(s):1399Problem Descriptionlin2144是一只小菜鸟,都是笨鸟先飞,lin2144想来个菜
#include
int main()
{
int n,i,j=0;
scanf("%d",&n);
while(j