ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#212506 | #3840. 布朗运动(motion) | Alex9876 | 10 | 0ms | 1200kb | C++ | 189b | 2024-10-19 10:21:25 | 2024-10-19 12:33:11 |
answer
#include<bits/stdc++.h>
int main()
{
int y;
std::cin>>y;
int left=y*y;
for(int k=0;k<y-1;k+=1){left+=k;}
int right=y*y+(y-1)*(y-1);
std::cout<<left<<"/"<<right;
return 0;
}
详细
小提示:点击横条可展开更详细的信息
Test #1:
score: 10
Accepted
time: 0ms
memory: 1200kb
input:
3
output:
10/13
result:
ok single line: '10/13'
Test #2:
score: 0
Wrong Answer
time: 0ms
memory: 1200kb
input:
7
output:
64/85
result:
wrong answer 1st lines differ - expected: '233/305', found: '64/85'
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
10
output:
136/181
result:
wrong answer 1st lines differ - expected: '4181/5473', found: '136/181'
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
16
output:
361/481
result:
wrong answer 1st lines differ - expected: '1346269/1762289', found: '361/481'
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
21
output:
631/841
result:
wrong answer 1st lines differ - expected: '331160282/433494437', found: '631/841'
Test #6:
score: 0
Wrong Answer
time: 0ms
memory: 1200kb
input:
29
output:
1219/1625
result:
wrong answer 1st lines differ - expected: '730870592324/956722026041', found: '1219/1625'
Test #7:
score: 0
Wrong Answer
time: 0ms
memory: 1200kb
input:
32
output:
1489/1985
result:
wrong answer 1st lines differ - expected: '13114940639684/17167680177565', found: '1489/1985'
Test #8:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
35
output:
1786/2381
result:
wrong answer 1st lines differ - expected: '235338060921988/308061521170129', found: '1786/2381'
Test #9:
score: 0
Wrong Answer
time: 0ms
memory: 1200kb
input:
39
output:
2224/2965
result:
wrong answer 1st lines differ - expected: '11055879401769514/14472334024676221', found: '2224/2965'
Test #10:
score: 0
Wrong Answer
time: 0ms
memory: 1200kb
input:
40
output:
2341/3121
result:
wrong answer 1st lines differ - expected: '14472334024676221/18944531186571953', found: '2341/3121'