QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#662674 | #9415. Matrix | TheShuMo# | AC ✓ | 0ms | 4056kb | C++14 | 2.0kb | 2024-10-21 09:02:55 | 2024-10-21 09:02:56 |
Judging History
answer
#include<bits/stdc++.h>
#define fo(s) freopen(s".in","r",stdin),freopen(s".out","w",stdout)
#define rep(i,l,r) for(ll i(l),i##end(r);i<=i##end;++i)
#define per(i,r,l) for(ll i(r),i##end(l);i>=i##end;--i)
#define dbg(x) cerr<<#x<<" "<<x<<'\n';
#define ll long long
#define gc getchar
#define pc putchar
using namespace std;
namespace WrongIO
{
#define Ts template<typename Ty,typename... Ar>
#define Tp template<typename Ty>
Tp Ty wmax(Ty a,Ty b){return a>=b? a:b;}
Tp Ty wmin(Ty a,Ty b){return a<=b? a:b;}
Tp void read(Ty &x){x=0;Ty opt=1;char c=gc();while(!isdigit(c)&&c!='-')c=gc();if(c=='-')opt=-1,c=gc();while(isdigit(c))x=(x<<3)+(x<<1),x+=c-'0',c=gc();x*=opt;return;}
Tp void write(Ty x){short OI_USE[150],OI_top=0;if(x<=0) if(x==0)pc('0');else pc('-'),x*=-1;while(x)OI_USE[++OI_top]=x%10,x/=10;while(OI_top--)pc(OI_USE[OI_top+1]+'0');return;}
void writec(char c[]){int len=strlen(c);for(int i=0;i<len;i++)pc(c[i]);}
void writes(string s){int len=s.length();for(int i=0;i<len;i++)pc(s[i]);}
void readc(char &c,int l,int r){c=gc(); while(c!=EOF&&(c<l||c>r)) c=gc();}
void readc(char &c,char val){c=gc();while(c!=EOF&&c!=val) c=gc();}
void readc(char val){char c;c=gc();while(c!=EOF&&c!=val) c=gc();}
void readls(string &s){char c=gc();while(c!='\n') s.push_back(c),c=gc();}
Ts void read(Ty &x,Ar &...y) {read(x),read(y...);}
Tp void writeln(Ty x) {write(x),pc('\n');}
Tp void writesp(Ty x) {write(x),pc(' ');}
#undef Ts
#undef Tp
} using namespace WrongIO;
ll e[505][505];
int main()
{
ll n;
read(n);
writes("Yes\n");
if(n==1)
{
pc('1'); return 0;
}
if(n==2)
{
writes("1 2\n3 4"); return 0;
}
if(n==3)
{
writes("3 2 6\n 4 3 3\n 3 1 5"); return 0;
}
ll ct=2;
e[1][1]=++ct; e[1][2]=++ct;
e[2][1]=++ct; e[2][2]=++ct;
rep(i,4,n) e[3][i]=++ct,e[i][3]=++ct;
rep(i,3,n)
rep(j,3,n)
if(e[i][j]==0) e[i][j]=2;
rep(i,1,n)
rep(j,1,n)
if(e[i][j]==0) e[i][j]=1;
rep(i,1,n)
{
rep(j,1,n) writesp(e[i][j]);
pc('\n');
}
}
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3624kb
input:
2
output:
Yes 1 2 3 4
result:
ok Correct. (1 test case)
Test #2:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
3
output:
Yes 3 2 6 4 3 3 3 1 5
result:
ok Correct. (1 test case)
Test #3:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
4
output:
Yes 3 4 1 1 5 6 1 1 1 1 2 7 1 1 8 2
result:
ok Correct. (1 test case)
Test #4:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
5
output:
Yes 3 4 1 1 1 5 6 1 1 1 1 1 2 7 9 1 1 8 2 2 1 1 10 2 2
result:
ok Correct. (1 test case)
Test #5:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
6
output:
Yes 3 4 1 1 1 1 5 6 1 1 1 1 1 1 2 7 9 11 1 1 8 2 2 2 1 1 10 2 2 2 1 1 12 2 2 2
result:
ok Correct. (1 test case)
Test #6:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
7
output:
Yes 3 4 1 1 1 1 1 5 6 1 1 1 1 1 1 1 2 7 9 11 13 1 1 8 2 2 2 2 1 1 10 2 2 2 2 1 1 12 2 2 2 2 1 1 14 2 2 2 2
result:
ok Correct. (1 test case)
Test #7:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
8
output:
Yes 3 4 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 2 7 9 11 13 15 1 1 8 2 2 2 2 2 1 1 10 2 2 2 2 2 1 1 12 2 2 2 2 2 1 1 14 2 2 2 2 2 1 1 16 2 2 2 2 2
result:
ok Correct. (1 test case)
Test #8:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
9
output:
Yes 3 4 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 1 1 8 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 1 1 18 2 2 2 2 2 2
result:
ok Correct. (1 test case)
Test #9:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
10
output:
Yes 3 4 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 1 1 8 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 1 1 18 2 2 2 2 2 2 2 1 1 20 2 2 2 2 2 2 2
result:
ok Correct. (1 test case)
Test #10:
score: 0
Accepted
time: 0ms
memory: 3496kb
input:
11
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 1 1 8 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 2 1 1 18 2 2 2 2 2 2 2 2 1 1 20 2 2 2 2 2 2 2 2 1 1 22 2 2 2 2 2 2 2 2
result:
ok Correct. (1 test case)
Test #11:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
12
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 1 1 8 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 2 2 1 1 18 2 2 2 2 2 2 2 2 2 1 1 20 2 2 2 2 2 2 2 2 2 1 1 22 2 2 2 2 2 2 2 2 2 1 1 24 ...
result:
ok Correct. (1 test case)
Test #12:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
13
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 1 1 8 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 2 2 2 1 1 18 2 2 2 2 2 2 2 2 2 2 1 1 20 2 2 2 2 2 2 2 2 2 2 1 1 22 2 2 2...
result:
ok Correct. (1 test case)
Test #13:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
14
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 1 1 8 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 2 2 2 2 1 1 18 2 2 2 2 2 2 2 2 2 2 2 1 1 20 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #14:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
15
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 2 2 2 2 2 1 1 18 2 2 2 2 2 2 2 2 2 2 2 2 1 ...
result:
ok Correct. (1 test case)
Test #15:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
16
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 18 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #16:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
17
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #17:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
18
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 16 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #18:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
19
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 16...
result:
ok Correct. (1 test case)
Test #19:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
20
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #20:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
21
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #21:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
22
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 14 ...
result:
ok Correct. (1 test case)
Test #22:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
23
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #23:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
24
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #24:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
25
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #25:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
26
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 12 2 ...
result:
ok Correct. (1 test case)
Test #26:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
27
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #27:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
28
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #28:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
29
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #29:
score: 0
Accepted
time: 0ms
memory: 3944kb
input:
30
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #30:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
31
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #31:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
32
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 10 2 ...
result:
ok Correct. (1 test case)
Test #32:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
33
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #33:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
34
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #34:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
35
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #35:
score: 0
Accepted
time: 0ms
memory: 3996kb
input:
36
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #36:
score: 0
Accepted
time: 0ms
memory: 4008kb
input:
37
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #37:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
38
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 1 1 8 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #38:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
39
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 1 1 8 2 2 2 2 2 2 2 2 2 2...
result:
ok Correct. (1 test case)
Test #39:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
40
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 1 1 8 2 2 2 2 2 2 ...
result:
ok Correct. (1 test case)
Test #40:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
41
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 1 1 8 2 2 2...
result:
ok Correct. (1 test case)
Test #41:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
42
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 1 1 ...
result:
ok Correct. (1 test case)
Test #42:
score: 0
Accepted
time: 0ms
memory: 4024kb
input:
43
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 8...
result:
ok Correct. (1 test case)
Test #43:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
44
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 ...
result:
ok Correct. (1 test case)
Test #44:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
45
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79...
result:
ok Correct. (1 test case)
Test #45:
score: 0
Accepted
time: 0ms
memory: 4040kb
input:
46
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 7...
result:
ok Correct. (1 test case)
Test #46:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
47
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 ...
result:
ok Correct. (1 test case)
Test #47:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
48
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71...
result:
ok Correct. (1 test case)
Test #48:
score: 0
Accepted
time: 0ms
memory: 4056kb
input:
49
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 6...
result:
ok Correct. (1 test case)
Test #49:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
50
output:
Yes 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 ...
result:
ok Correct. (1 test case)
Extra Test:
score: 0
Extra Test Passed