https://github.com/k-pet-group/BlueJ-Greenfoot/releases/download/BLUEJ-RELEASE-6.0.1/BlueJ-windows-6.0.1.msi
C++namespace IO{constexpr int32_t bufSize=1<<20;char inbuf[bufSize],outbuf[bufSize];int32_t inpos=0,inlen=0,outpos=0;inline char gc(){if(inpos==inlen){inlen=fread(inbuf,1,bufSize,stdin);inpos=0;if(!inlen){return EOF;}}return inbuf[inpos++];}inline void pc(char ch){if(outpos==bufSize){fwrite(outbuf,1,outpos,stdout);outpos=0;}outbuf[outpos++]=ch;}inline void flush(){if(outpos){fwrite(outbuf,1,outpos,stdout);outpos=0;}}template<typename T>inline void read(T&res){res=0;bool flag=false;char ch=gc();while(ch!=EOF&&!isdigit(ch)){if(ch=='-'){flag=true;}ch=gc();}while(ch!=EOF&&isdigit(ch)){res=((res*10)+(ch-'0'));ch=gc();}if(flag)res=-res;}inline void read(std::string& res){res.clear();char ch=gc();while(ch!=EOF&&(ch==' '||ch=='\n'||ch=='\t'||ch=='\r')){ch=gc();}while(ch!=EOF&&(ch!=' '&&ch!='\n'&&ch!='\t'&&ch!='\r')){res+=ch;ch=gc();}}inline void read(char& res){res=gc();while(res!=EOF&&(res==' '||res=='\n'||res=='\t'||res=='\r')){res=gc();}}template<typename T>inline void write(T res){if(res<0){pc('-');res=-res;}if(res==0){pc('0');return ;}char st[42]={};short top=0;while(res){st[top++]=res%10+'0';res/=10;}while(top--){pc(st[top]);}}inline void write(const std::string& res){for(char ch:res){pc(ch);}}inline void write(char ch){pc(ch);}inline void write(char* str){int len=strlen(str);for(int i=0;i<len;i++){pc(str[i]);}}struct fastIO{template<typename T>inline fastIO& operator>>(T& res){read(res);return *this;}template<typename T>inline fastIO& operator<<(const T& res){write(res);return *this;}~fastIO(){flush();}void flush(){IO::flush();}}SystemIO;}using IO::gc;using IO::pc;using IO::SystemIO;using int8=int8_t;using uint8=uint8_t;using int16=int16_t;using uint16=uint16_t;using int32=int32_t;using uint32=uint32_t;using int64=int64_t;using uint64=uint64_t;using String=std::string;using boolean=bool;// Java
Markdown1
2
3
4
5
6
7
8
9
10
11
12
1 6
1 2
2 5
5 1
1 3
3 4
4 1
5 3
6 2
6 3
3 2
4 6
6 5
5 4
2 4
1 7
7 5
6 7
4 7
2 7
3 7
4 8
8 1
5 8
8 3
2 8
8 6
7 8
1 9
9 4
5 9
9 3
6 9
9 2
7 9
9 8
9 10
10 3
7 10
10 1
4 10
10 8
6 10
10 2
5 10
10 11
11 3
7 11
11 1
4 11
11 8
6 11
11 2
9 11
11 5
1 12
12 7
11 12
12 8
5 12
12 9
2 12
12 10
6 12
12 4
3 12