QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#609168 | #9415. Matrix | UESTC_xxx# | AC ✓ | 1ms | 4028kb | C++20 | 620b | 2024-10-04 11:02:29 | 2024-10-04 11:02:29 |
Judging History
answer
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<cstring>
#include<queue>
#include<map>
#define ll long long
using namespace std;
int n,a[505][505];
int main(){
scanf("%d",&n);
printf("Yes\n");
a[1][1]=1,a[1][2]=2,a[2][1]=3,a[2][2]=4;
for(int i=3;i<=n;++i) a[1][i]=a[2][i]=a[i][1]=a[i][2]=5;
int now=5;
a[3][3]=2*n;
for(int i=4;i<=n;++i) now++,a[3][i]=now;
for(int i=4;i<=n;++i) now++,a[i][3]=now;
for(int i=4;i<=n;++i){
for(int j=4;j<=n;++j) a[i][j]=2*n;
}
for(int i=1;i<=n;++i){
for(int j=1;j<=n;++j) printf("%d ",a[i][j]);
printf("\n");
}
}
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3804kb
input:
2
output:
Yes 1 2 3 4
result:
ok Correct. (1 test case)
Test #2:
score: 0
Accepted
time: 0ms
memory: 3960kb
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: 3872kb
input:
4
output:
Yes 1 2 5 5 3 4 5 5 5 5 8 6 5 5 7 8
result:
ok Correct. (1 test case)
Test #4:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
5
output:
Yes 1 2 5 5 5 3 4 5 5 5 5 5 10 6 7 5 5 8 10 10 5 5 9 10 10
result:
ok Correct. (1 test case)
Test #5:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
6
output:
Yes 1 2 5 5 5 5 3 4 5 5 5 5 5 5 12 6 7 8 5 5 9 12 12 12 5 5 10 12 12 12 5 5 11 12 12 12
result:
ok Correct. (1 test case)
Test #6:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
7
output:
Yes 1 2 5 5 5 5 5 3 4 5 5 5 5 5 5 5 14 6 7 8 9 5 5 10 14 14 14 14 5 5 11 14 14 14 14 5 5 12 14 14 14 14 5 5 13 14 14 14 14
result:
ok Correct. (1 test case)
Test #7:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
8
output:
Yes 1 2 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 16 6 7 8 9 10 5 5 11 16 16 16 16 16 5 5 12 16 16 16 16 16 5 5 13 16 16 16 16 16 5 5 14 16 16 16 16 16 5 5 15 16 16 16 16 16
result:
ok Correct. (1 test case)
Test #8:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
9
output:
Yes 1 2 5 5 5 5 5 5 5 3 4 5 5 5 5 5 5 5 5 5 18 6 7 8 9 10 11 5 5 12 18 18 18 18 18 18 5 5 13 18 18 18 18 18 18 5 5 14 18 18 18 18 18 18 5 5 15 18 18 18 18 18 18 5 5 16 18 18 18 18 18 18 5 5 17 18 18 18 18 18 18
result:
ok Correct. (1 test case)
Test #9:
score: 0
Accepted
time: 0ms
memory: 3892kb
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 20 6 7 8 9 10 11 12 5 5 13 20 20 20 20 20 20 20 5 5 14 20 20 20 20 20 20 20 5 5 15 20 20 20 20 20 20 20 5 5 16 20 20 20 20 20 20 20 5 5 17 20 20 20 20 20 20 20 5 5 18 20 20 20 20 20 20 20 5 5 19 20 20 20 20 20 20 20
result:
ok Correct. (1 test case)
Test #10:
score: 0
Accepted
time: 0ms
memory: 3780kb
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 22 6 7 8 9 10 11 12 13 5 5 14 22 22 22 22 22 22 22 22 5 5 15 22 22 22 22 22 22 22 22 5 5 16 22 22 22 22 22 22 22 22 5 5 17 22 22 22 22 22 22 22 22 5 5 18 22 22 22 22 22 22 22 22 5 5 19 22 22 22 22 22 22 22 22 5 5 20 22 22 22 22 22 22 22 22...
result:
ok Correct. (1 test case)
Test #11:
score: 0
Accepted
time: 0ms
memory: 3824kb
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 24 6 7 8 9 10 11 12 13 14 5 5 15 24 24 24 24 24 24 24 24 24 5 5 16 24 24 24 24 24 24 24 24 24 5 5 17 24 24 24 24 24 24 24 24 24 5 5 18 24 24 24 24 24 24 24 24 24 5 5 19 24 24 24 24 24 24 24 24 24 5 5 20 24 24 24 24 24 24 24 24 24 5 5 2...
result:
ok Correct. (1 test case)
Test #12:
score: 0
Accepted
time: 0ms
memory: 3916kb
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 26 6 7 8 9 10 11 12 13 14 15 5 5 16 26 26 26 26 26 26 26 26 26 26 5 5 17 26 26 26 26 26 26 26 26 26 26 5 5 18 26 26 26 26 26 26 26 26 26 26 5 5 19 26 26 26 26 26 26 26 26 26 26 5 5 20 26 26 26 26 26 26 26 26 26 26 5 5 21 26 26 26 26...
result:
ok Correct. (1 test case)
Test #13:
score: 0
Accepted
time: 0ms
memory: 3816kb
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 28 6 7 8 9 10 11 12 13 14 15 16 5 5 17 28 28 28 28 28 28 28 28 28 28 28 5 5 18 28 28 28 28 28 28 28 28 28 28 28 5 5 19 28 28 28 28 28 28 28 28 28 28 28 5 5 20 28 28 28 28 28 28 28 28 28 28 28 5 5 21 28 28 28 28 28 28 28 28 28 28 ...
result:
ok Correct. (1 test case)
Test #14:
score: 0
Accepted
time: 1ms
memory: 3908kb
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 30 6 7 8 9 10 11 12 13 14 15 16 17 5 5 18 30 30 30 30 30 30 30 30 30 30 30 30 5 5 19 30 30 30 30 30 30 30 30 30 30 30 30 5 5 20 30 30 30 30 30 30 30 30 30 30 30 30 5 5 21 30 30 30 30 30 30 30 30 30 30 30 30 5 5 22 30 30 30 30...
result:
ok Correct. (1 test case)
Test #15:
score: 0
Accepted
time: 0ms
memory: 3980kb
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 32 6 7 8 9 10 11 12 13 14 15 16 17 18 5 5 19 32 32 32 32 32 32 32 32 32 32 32 32 32 5 5 20 32 32 32 32 32 32 32 32 32 32 32 32 32 5 5 21 32 32 32 32 32 32 32 32 32 32 32 32 32 5 5 22 32 32 32 32 32 32 32 32 32 32 32 32 32 ...
result:
ok Correct. (1 test case)
Test #16:
score: 0
Accepted
time: 0ms
memory: 3868kb
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 34 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 5 20 34 34 34 34 34 34 34 34 34 34 34 34 34 34 5 5 21 34 34 34 34 34 34 34 34 34 34 34 34 34 34 5 5 22 34 34 34 34 34 34 34 34 34 34 34 34 34 34 5 5 23 34 34 34 34 34 34 34 34...
result:
ok Correct. (1 test case)
Test #17:
score: 0
Accepted
time: 0ms
memory: 3916kb
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 36 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 5 21 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 5 5 22 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 5 5 23 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 5 5 24 36 36 3...
result:
ok Correct. (1 test case)
Test #18:
score: 0
Accepted
time: 0ms
memory: 3984kb
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 38 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 5 22 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 5 5 23 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 5 5 24 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38...
result:
ok Correct. (1 test case)
Test #19:
score: 0
Accepted
time: 0ms
memory: 3908kb
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 40 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 5 23 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 5 5 24 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 5 5 25 40 40 40 40 40 40 40 40 40 40 40 4...
result:
ok Correct. (1 test case)
Test #20:
score: 0
Accepted
time: 0ms
memory: 3844kb
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 42 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 5 24 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 5 5 25 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 5 5 26 42 42 42 42 42 42 42 ...
result:
ok Correct. (1 test case)
Test #21:
score: 0
Accepted
time: 0ms
memory: 3912kb
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 44 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 5 25 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 5 5 26 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 5 5 27 44 44 44...
result:
ok Correct. (1 test case)
Test #22:
score: 0
Accepted
time: 0ms
memory: 3840kb
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 46 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 5 5 26 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 5 5 27 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 5 ...
result:
ok Correct. (1 test case)
Test #23:
score: 0
Accepted
time: 0ms
memory: 3868kb
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 48 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 5 27 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 5 5 28 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48...
result:
ok Correct. (1 test case)
Test #24:
score: 0
Accepted
time: 0ms
memory: 3864kb
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 50 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 5 5 28 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 5 5 29 50 50 50 50 50 50 50 50 50 50 50 50 50 50 5...
result:
ok Correct. (1 test case)
Test #25:
score: 0
Accepted
time: 1ms
memory: 3924kb
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 52 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 5 29 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 5 5 30 52 52 52 52 52 52 52 52 52 52 52 ...
result:
ok Correct. (1 test case)
Test #26:
score: 0
Accepted
time: 0ms
memory: 3852kb
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 54 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 5 5 30 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 5 5 31 54 54 54 54 54 54 54 54...
result:
ok Correct. (1 test case)
Test #27:
score: 0
Accepted
time: 0ms
memory: 3920kb
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 56 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 5 5 31 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 5 5 32 56 56 56 56 5...
result:
ok Correct. (1 test case)
Test #28:
score: 0
Accepted
time: 0ms
memory: 3940kb
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 58 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 5 5 32 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 5 5 33 58 ...
result:
ok Correct. (1 test case)
Test #29:
score: 0
Accepted
time: 0ms
memory: 3952kb
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 60 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 5 5 33 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 ...
result:
ok Correct. (1 test case)
Test #30:
score: 0
Accepted
time: 0ms
memory: 3940kb
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 62 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 5 5 34 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 ...
result:
ok Correct. (1 test case)
Test #31:
score: 0
Accepted
time: 0ms
memory: 3956kb
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 64 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 5 5 35 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64...
result:
ok Correct. (1 test case)
Test #32:
score: 0
Accepted
time: 0ms
memory: 3932kb
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 66 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 5 5 36 66 66 66 66 66 66 66 66 66 66 66 66 66 66 66 66 66 66 66 66 6...
result:
ok Correct. (1 test case)
Test #33:
score: 0
Accepted
time: 0ms
memory: 3932kb
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 68 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 5 5 37 68 68 68 68 68 68 68 68 68 68 68 68 68 68 68 68 68 68 ...
result:
ok Correct. (1 test case)
Test #34:
score: 0
Accepted
time: 0ms
memory: 4024kb
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 70 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 5 5 38 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70...
result:
ok Correct. (1 test case)
Test #35:
score: 0
Accepted
time: 0ms
memory: 4020kb
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 72 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 5 5 39 72 72 72 72 72 72 72 72 72 72 72 72 72 7...
result:
ok Correct. (1 test case)
Test #36:
score: 0
Accepted
time: 0ms
memory: 3944kb
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 74 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 5 5 40 74 74 74 74 74 74 74 74 74 74 74 ...
result:
ok Correct. (1 test case)
Test #37:
score: 0
Accepted
time: 0ms
memory: 3952kb
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 76 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 5 5 41 76 76 76 76 76 76 76 76 76...
result:
ok Correct. (1 test case)
Test #38:
score: 0
Accepted
time: 0ms
memory: 3896kb
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 78 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 5 5 42 78 78 78 78 78 78 7...
result:
ok Correct. (1 test case)
Test #39:
score: 0
Accepted
time: 0ms
memory: 3952kb
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 80 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 5 5 43 80 80 80 80 ...
result:
ok Correct. (1 test case)
Test #40:
score: 0
Accepted
time: 0ms
memory: 3876kb
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 82 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 5 5 44 82 82...
result:
ok Correct. (1 test case)
Test #41:
score: 0
Accepted
time: 0ms
memory: 4028kb
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 84 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 5 5 4...
result:
ok Correct. (1 test case)
Test #42:
score: 0
Accepted
time: 0ms
memory: 3844kb
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 86 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45...
result:
ok Correct. (1 test case)
Test #43:
score: 0
Accepted
time: 0ms
memory: 3968kb
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 88 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 4...
result:
ok Correct. (1 test case)
Test #44:
score: 0
Accepted
time: 0ms
memory: 3888kb
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 90 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 ...
result:
ok Correct. (1 test case)
Test #45:
score: 0
Accepted
time: 1ms
memory: 3976kb
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 92 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41...
result:
ok Correct. (1 test case)
Test #46:
score: 0
Accepted
time: 0ms
memory: 3892kb
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 94 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 4...
result:
ok Correct. (1 test case)
Test #47:
score: 0
Accepted
time: 1ms
memory: 3888kb
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 96 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ...
result:
ok Correct. (1 test case)
Test #48:
score: 0
Accepted
time: 1ms
memory: 3964kb
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 98 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37...
result:
ok Correct. (1 test case)
Test #49:
score: 0
Accepted
time: 1ms
memory: 3980kb
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 100 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 ...
result:
ok Correct. (1 test case)
Extra Test:
score: 0
Extra Test Passed