QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#782142 | #9415. Matrix | rdcamelot | AC ✓ | 0ms | 3716kb | C++20 | 1.1kb | 2024-11-25 19:03:23 | 2024-11-25 19:03:24 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
using i64=long long;
using u64=unsigned long long;
#define ll long long
const int inf=1e9;
const ll inff=1e18;
using i128=__int128;
void solve(){
int n;
cin>>n;
//1..2n
if(n==1){
cout<<"No"<<'\n';
return;
}
/*4*4 8
1 5 6 2
7 5 6 7
8 5 6 8
3 5 6 4
*/
cout<<"Yes"<<'\n';
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j++){
if(i==1 && j==1){
cout<<1<<' ';
}else if(i==1 && j==n){
cout<<2<<' ';
}else if(i==n && j==1){
cout<<3<<' ';
}else if(i==n && j==n){
cout<<4<<' ';
}else{
if(j==1 || j==n){
cout<<(4+n-2+i-1)<<' ';
}else{
cout<<(4+j-1)<<' ';
}
}
}
cout<<'\n';
}
}
int main(){
ios::sync_with_stdio(0);cin.tie(0);
int t=1;
// cin>>t;
while(t--){
solve();
}
return 0;
}
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3584kb
input:
2
output:
Yes 1 2 3 4
result:
ok Correct. (1 test case)
Test #2:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3
output:
Yes 1 5 2 6 5 6 3 5 4
result:
ok Correct. (1 test case)
Test #3:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
4
output:
Yes 1 5 6 2 7 5 6 7 8 5 6 8 3 5 6 4
result:
ok Correct. (1 test case)
Test #4:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
5
output:
Yes 1 5 6 7 2 8 5 6 7 8 9 5 6 7 9 10 5 6 7 10 3 5 6 7 4
result:
ok Correct. (1 test case)
Test #5:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
6
output:
Yes 1 5 6 7 8 2 9 5 6 7 8 9 10 5 6 7 8 10 11 5 6 7 8 11 12 5 6 7 8 12 3 5 6 7 8 4
result:
ok Correct. (1 test case)
Test #6:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
7
output:
Yes 1 5 6 7 8 9 2 10 5 6 7 8 9 10 11 5 6 7 8 9 11 12 5 6 7 8 9 12 13 5 6 7 8 9 13 14 5 6 7 8 9 14 3 5 6 7 8 9 4
result:
ok Correct. (1 test case)
Test #7:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
8
output:
Yes 1 5 6 7 8 9 10 2 11 5 6 7 8 9 10 11 12 5 6 7 8 9 10 12 13 5 6 7 8 9 10 13 14 5 6 7 8 9 10 14 15 5 6 7 8 9 10 15 16 5 6 7 8 9 10 16 3 5 6 7 8 9 10 4
result:
ok Correct. (1 test case)
Test #8:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
9
output:
Yes 1 5 6 7 8 9 10 11 2 12 5 6 7 8 9 10 11 12 13 5 6 7 8 9 10 11 13 14 5 6 7 8 9 10 11 14 15 5 6 7 8 9 10 11 15 16 5 6 7 8 9 10 11 16 17 5 6 7 8 9 10 11 17 18 5 6 7 8 9 10 11 18 3 5 6 7 8 9 10 11 4
result:
ok Correct. (1 test case)
Test #9:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
10
output:
Yes 1 5 6 7 8 9 10 11 12 2 13 5 6 7 8 9 10 11 12 13 14 5 6 7 8 9 10 11 12 14 15 5 6 7 8 9 10 11 12 15 16 5 6 7 8 9 10 11 12 16 17 5 6 7 8 9 10 11 12 17 18 5 6 7 8 9 10 11 12 18 19 5 6 7 8 9 10 11 12 19 20 5 6 7 8 9 10 11 12 20 3 5 6 7 8 9 10 11 12 4
result:
ok Correct. (1 test case)
Test #10:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
11
output:
Yes 1 5 6 7 8 9 10 11 12 13 2 14 5 6 7 8 9 10 11 12 13 14 15 5 6 7 8 9 10 11 12 13 15 16 5 6 7 8 9 10 11 12 13 16 17 5 6 7 8 9 10 11 12 13 17 18 5 6 7 8 9 10 11 12 13 18 19 5 6 7 8 9 10 11 12 13 19 20 5 6 7 8 9 10 11 12 13 20 21 5 6 7 8 9 10 11 12 13 21 22 5 6 7 8 9 10 11 12 13 22 3 5 6 7 ...
result:
ok Correct. (1 test case)
Test #11:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
12
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 2 15 5 6 7 8 9 10 11 12 13 14 15 16 5 6 7 8 9 10 11 12 13 14 16 17 5 6 7 8 9 10 11 12 13 14 17 18 5 6 7 8 9 10 11 12 13 14 18 19 5 6 7 8 9 10 11 12 13 14 19 20 5 6 7 8 9 10 11 12 13 14 20 21 5 6 7 8 9 10 11 12 13 14 21 22 5 6 7 8 9 10 11 12 13 14 22 23 5 6 7 8...
result:
ok Correct. (1 test case)
Test #12:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
13
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 2 16 5 6 7 8 9 10 11 12 13 14 15 16 17 5 6 7 8 9 10 11 12 13 14 15 17 18 5 6 7 8 9 10 11 12 13 14 15 18 19 5 6 7 8 9 10 11 12 13 14 15 19 20 5 6 7 8 9 10 11 12 13 14 15 20 21 5 6 7 8 9 10 11 12 13 14 15 21 22 5 6 7 8 9 10 11 12 13 14 15 22 23 5 6 7 8 9 10 11...
result:
ok Correct. (1 test case)
Test #13:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
14
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 2 17 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 6 7 8 9 10 11 12 13 14 15 16 18 19 5 6 7 8 9 10 11 12 13 14 15 16 19 20 5 6 7 8 9 10 11 12 13 14 15 16 20 21 5 6 7 8 9 10 11 12 13 14 15 16 21 22 5 6 7 8 9 10 11 12 13 14 15 16 22 23 5 6 7 8 9 10 11 12 13 14 15 1...
result:
ok Correct. (1 test case)
Test #14:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
15
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 2 18 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 5 6 7 8 9 10 11 12 13 14 15 16 17 20 21 5 6 7 8 9 10 11 12 13 14 15 16 17 21 22 5 6 7 8 9 10 11 12 13 14 15 16 17 22 23 5 6 7 8 9 10 11 12 13 14 15 16 17 23 24 5 6 7 8 ...
result:
ok Correct. (1 test case)
Test #15:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
16
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 19 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 5 6 7 8 9 10 11 12 13 14 15 16 17 18 21 22 5 6 7 8 9 10 11 12 13 14 15 16 17 18 22 23 5 6 7 8 9 10 11 12 13 14 15 16 17 18 23 24 5 6 7 8 9 10 11 12 13 14 15 16 ...
result:
ok Correct. (1 test case)
Test #16:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
17
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 20 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 22 23 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 23 24 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 24 25 5 6 7 8 9 10 ...
result:
ok Correct. (1 test case)
Test #17:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
18
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 21 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 23 24 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 24 25 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 25...
result:
ok Correct. (1 test case)
Test #18:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
19
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 22 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 24 25 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 25 26 5 6 7 8 9 10 11 12 13 14 15 16...
result:
ok Correct. (1 test case)
Test #19:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
20
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 23 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 25 26 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 26 27 5 6 7 8 9 10 11...
result:
ok Correct. (1 test case)
Test #20:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
21
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 24 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 26 27 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 27 28 ...
result:
ok Correct. (1 test case)
Test #21:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
22
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 25 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2...
result:
ok Correct. (1 test case)
Test #22:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
23
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 26 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 28 29 5 6 7 8 9 10 11 12 13 14 15 16 17 1...
result:
ok Correct. (1 test case)
Test #23:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
24
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 27 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 29 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 29 30 5 6 7 8 9 10 11 12 13 1...
result:
ok Correct. (1 test case)
Test #24:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
25
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 28 5 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 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 30 31 5 6 7 8 9 1...
result:
ok Correct. (1 test case)
Test #25:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
26
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 29 5 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 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 31 32...
result:
ok Correct. (1 test case)
Test #26:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
27
output:
Yes 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 30 5 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 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ...
result:
ok Correct. (1 test case)
Test #27:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
28
output:
Yes 1 5 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 2 31 5 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 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 32 33 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ...
result:
ok Correct. (1 test case)
Test #28:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
29
output:
Yes 1 5 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 2 32 5 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 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 33 34 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ...
result:
ok Correct. (1 test case)
Test #29:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
30
output:
Yes 1 5 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 2 33 5 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 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 34 35 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ...
result:
ok Correct. (1 test case)
Test #30:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
31
output:
Yes 1 5 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 2 34 5 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 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 35 36 5 6 7 8 9 10 11 12 13 14 15 ...
result:
ok Correct. (1 test case)
Test #31:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
32
output:
Yes 1 5 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 2 35 5 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 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 36 37 5 6 7 8 9 10 11 12 ...
result:
ok Correct. (1 test case)
Test #32:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
33
output:
Yes 1 5 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 2 36 5 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 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 37 38 5 6 7 8 9 ...
result:
ok Correct. (1 test case)
Test #33:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
34
output:
Yes 1 5 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 2 37 5 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 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 38 39 5...
result:
ok Correct. (1 test case)
Test #34:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
35
output:
Yes 1 5 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 2 38 5 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 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 #35:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
36
output:
Yes 1 5 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 2 39 5 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 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)
Test #36:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
37
output:
Yes 1 5 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 2 40 5 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 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...
result:
ok Correct. (1 test case)
Test #37:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
38
output:
Yes 1 5 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 2 41 5 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 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...
result:
ok Correct. (1 test case)
Test #38:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
39
output:
Yes 1 5 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 2 42 5 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 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29...
result:
ok Correct. (1 test case)
Test #39:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
40
output:
Yes 1 5 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 2 43 5 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 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27...
result:
ok Correct. (1 test case)
Test #40:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
41
output:
Yes 1 5 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 2 44 5 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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25...
result:
ok Correct. (1 test case)
Test #41:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
42
output:
Yes 1 5 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 2 45 5 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 46 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23...
result:
ok Correct. (1 test case)
Test #42:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
43
output:
Yes 1 5 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 2 46 5 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 46 47 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21...
result:
ok Correct. (1 test case)
Test #43:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
44
output:
Yes 1 5 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 46 2 47 5 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 46 47 48 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19...
result:
ok Correct. (1 test case)
Test #44:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
45
output:
Yes 1 5 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 46 47 2 48 5 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 46 47 48 49 5 6 7 8 9 10 11 12 13 14 15 16 17...
result:
ok Correct. (1 test case)
Test #45:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
46
output:
Yes 1 5 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 46 47 48 2 49 5 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 46 47 48 49 50 5 6 7 8 9 10 11 12 13 14 15...
result:
ok Correct. (1 test case)
Test #46:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
47
output:
Yes 1 5 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 46 47 48 49 2 50 5 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 46 47 48 49 50 51 5 6 7 8 9 10 11 12 13...
result:
ok Correct. (1 test case)
Test #47:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
48
output:
Yes 1 5 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 46 47 48 49 50 2 51 5 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 46 47 48 49 50 51 52 5 6 7 8 9 10 11...
result:
ok Correct. (1 test case)
Test #48:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
49
output:
Yes 1 5 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 46 47 48 49 50 51 2 52 5 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 46 47 48 49 50 51 52 53 5 6 7 8 9...
result:
ok Correct. (1 test case)
Test #49:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
50
output:
Yes 1 5 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 46 47 48 49 50 51 52 2 53 5 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 46 47 48 49 50 51 52 53 54 5 6...
result:
ok Correct. (1 test case)
Extra Test:
score: 0
Extra Test Passed