QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#624644 | #9415. Matrix | dztlb | AC ✓ | 1ms | 3728kb | C++14 | 692b | 2024-10-09 16:19:08 | 2024-10-09 16:19:08 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define int long long
const int N=1005;
int n;
int a[55][55];
signed main(){
cin>>n;
puts("Yes");
a[1][1]=1,a[1][2]=2;
a[2][1]=3,a[2][2]=4;
for(int i=3;i<=50;++i){
a[1][i]=5;
a[2][i]=5;
a[i][1]=5;
a[i][2]=5;
}
int now=6;
for(int i=3;i<=50;i+=2){
a[i][i]=now;
a[i+1][i]=now+1;
a[i][i+1]=now+1;
a[i+1][i+1]=now+2;
for(int j=i+2;j<=50;++j){
a[i][j]=now+3;
a[i+1][j]=now+3;
a[j][i]=now+3;
a[j][i+1]=now+3;
}
now+=4;
}
for(int i=1;i<=n;++i){
for(int j=1;j<=n;++j){
cout<<a[i][j]<<' ';
} cout<<endl;
}
return 0;
}
/*
3 4
X.X.
...X
...X
....
....
....
*/
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3636kb
input:
2
output:
Yes 1 2 3 4
result:
ok Correct. (1 test case)
Test #2:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
3
output:
Yes 1 2 5 3 4 5 5 5 6
result:
ok Correct. (1 test case)
Test #3:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
4
output:
Yes 1 2 5 5 3 4 5 5 5 5 6 7 5 5 7 8
result:
ok Correct. (1 test case)
Test #4:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
5
output:
Yes 1 2 5 5 5 3 4 5 5 5 5 5 6 7 9 5 5 7 8 9 5 5 9 9 10
result:
ok Correct. (1 test case)
Test #5:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
6
output:
Yes 1 2 5 5 5 5 3 4 5 5 5 5 5 5 6 7 9 9 5 5 7 8 9 9 5 5 9 9 10 11 5 5 9 9 11 12
result:
ok Correct. (1 test case)
Test #6:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
7
output:
Yes 1 2 5 5 5 5 5 3 4 5 5 5 5 5 5 5 6 7 9 9 9 5 5 7 8 9 9 9 5 5 9 9 10 11 13 5 5 9 9 11 12 13 5 5 9 9 13 13 14
result:
ok Correct. (1 test case)
Test #7:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
8
output:
Yes 1 2 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 6 7 9 9 9 9 5 5 7 8 9 9 9 9 5 5 9 9 10 11 13 13 5 5 9 9 11 12 13 13 5 5 9 9 13 13 14 15 5 5 9 9 13 13 15 16
result:
ok Correct. (1 test case)
Test #8:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
9
output:
Yes 1 2 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 5 5 7 8 9 9 9 9 9 5 5 9 9 10 11 13 13 13 5 5 9 9 11 12 13 13 13 5 5 9 9 13 13 14 15 17 5 5 9 9 13 13 15 16 17 5 5 9 9 13 13 17 17 18
result:
ok Correct. (1 test case)
Test #9:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
10
output:
Yes 1 2 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 5 5 9 9 11 12 13 13 13 13 5 5 9 9 13 13 14 15 17 17 5 5 9 9 13 13 15 16 17 17 5 5 9 9 13 13 17 17 18 19 5 5 9 9 13 13 17 17 19 20
result:
ok Correct. (1 test case)
Test #10:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
11
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 5 5 9 9 13 13 15 16 17 17 17 5 5 9 9 13 13 17 17 18 19 21 5 5 9 9 13 13 17 17 19 20 21 5 5 9 9 13 13 17 17 21 2...
result:
ok Correct. (1 test case)
Test #11:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
12
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 5 5 9 9 13 13 15 16 17 17 17 17 5 5 9 9 13 13 17 17 18 19 21 21 5 5 9 9 13 13 17 17 19 20 21 21...
result:
ok Correct. (1 test case)
Test #12:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
13
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 17 5 5 9 9 13 13 15 16 17 17 17 17 17 5 5 9 9 13 13 17 17 18 19 21 21 21 5 5 9 9 ...
result:
ok Correct. (1 test case)
Test #13:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
14
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 17 17 5 5 9 9 13 13 15 16 17 17 17 17 17 17 5 5 9 9 13 13 17 17 18 1...
result:
ok Correct. (1 test case)
Test #14:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
15
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 17 17 17 5 5 9 9 13 13 15 16 17 17 17 17 17 17 17 5 5 ...
result:
ok Correct. (1 test case)
Test #15:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
16
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 17 17 17 17 5 5 9 9 13 13 15 16 17 17 17 ...
result:
ok Correct. (1 test case)
Test #16:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
17
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 17 17 17 17 17 5 5 9 9 13 1...
result:
ok Correct. (1 test case)
Test #17:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
18
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 17 17 17 17 17...
result:
ok Correct. (1 test case)
Test #18:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
19
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 13 13 14 15 17 17 17 17 ...
result:
ok Correct. (1 test case)
Test #19:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
20
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 13 13 14 1...
result:
ok Correct. (1 test case)
Test #20:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
21
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 ...
result:
ok Correct. (1 test case)
Test #21:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
22
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 13 13 13 13 ...
result:
ok Correct. (1 test case)
Test #22:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
23
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13 13 13 13 1...
result:
ok Correct. (1 test case)
Test #23:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
24
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 13 13 13 13...
result:
ok Correct. (1 test case)
Test #24:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
25
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 11 12 13 13 ...
result:
ok Correct. (1 test case)
Test #25:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
26
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 5 5 9 9 1...
result:
ok Correct. (1 test case)
Test #26:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
27
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13...
result:
ok Correct. (1 test case)
Test #27:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
28
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 ...
result:
ok Correct. (1 test case)
Test #28:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
29
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 1...
result:
ok Correct. (1 test case)
Test #29:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
30
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 13 13 13...
result:
ok Correct. (1 test case)
Test #30:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
31
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 13 13 13 ...
result:
ok Correct. (1 test case)
Test #31:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
32
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13 13 13 1...
result:
ok Correct. (1 test case)
Test #32:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
33
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 13 13 13...
result:
ok Correct. (1 test case)
Test #33:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
34
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 11 13 13 ...
result:
ok Correct. (1 test case)
Test #34:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
35
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 9 9 10 1...
result:
ok Correct. (1 test case)
Test #35:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
36
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 ...
result:
ok Correct. (1 test case)
Test #36:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
37
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #37:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
38
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #38:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
39
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #39:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
40
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #40:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
41
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #41:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
42
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #42:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
43
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #43:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
44
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #44:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
45
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #45:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
46
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9 9 9 9...
result:
ok Correct. (1 test case)
Test #46:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
47
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7 8 9 9...
result:
ok Correct. (1 test case)
Test #47:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
48
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 5 5 7...
result:
ok Correct. (1 test case)
Test #48:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
49
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 ...
result:
ok Correct. (1 test case)
Test #49:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
50
output:
Yes 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 ...
result:
ok Correct. (1 test case)
Extra Test:
score: 0
Extra Test Passed