#include<iostream>
using namespace std;
int main(){
cout<<"A"<<endl;
cout<<" 20 20 0 0 28 28"<<endl;
cout<<" 20 20 0 0 28 28"<<endl;
cout<<" 24 24 16 16 8 8"<<endl;
cout<<" 24 24 16 16 8 8"<<endl;
cout<<" 4 4 32 32 12 12"<<endl;
cout<<" 4 4 32 32 12 12"<<endl;
cout<<"B"<<endl;
cout<<" 4 2 4 2 1 2"<<endl;
cout<<" 1 3 1 3 4 3"<<endl;
cout<<" 4 2 1 2 4 2"<<endl;
cout<<" 1 3 4 3 1 3"<<endl;
cout<<" 4 2 4 2 1 2"<<endl;
cout<<" 1 3 1 3 4 3"<<endl;
cout<<"magic6"<<endl;
cout<<" 24 22 4 2 29 30"<<endl;
cout<<" 21 23 1 3 32 31"<<endl;
cout<<" 28 26 17 18 12 10"<<endl;
cout<<" 25 27 20 19 9 11"<<endl;
cout<<" 8 6 36 34 13 14"<<endl;
cout<<" 5 7 33 35 16 15"<<endl;
}
聰明人的做法
#include
using namespace std;
int main(){
cout<<"A"<<endl;
cout<<" 20 20 0 0 28 28"<<endl;
cout<<" 20 20 0 0 28 28"<<endl;
cout<<" 24 24 16 16 8 8"<<endl;
cout<<" 24 24 16 16 8 8"<<endl;
cout<<" 4 4 32 32 12 12"<<endl;
cout<<" 4 4 32 32 12 12"<<endl;
cout<<"B"<<endl;
cout<<" 4 2 4 2 1 2"<<endl;
cout<<" 1 3 1 3 4 3"<<endl;
cout<<" 4 2 1 2 4 2"<<endl;
cout<<" 1 3 4 3 1 3"<<endl;
cout<<" 4 2 4 2 1 2"<<endl;
cout<<" 1 3 1 3 4 3"<<endl;
cout<<"magic6"<<endl;
cout<<" 24 22 4 2 29 30"<<endl;
cout<<" 21 23 1 3 32 31"<<endl;
cout<<" 28 26 17 18 12 10"<<endl;
cout<<" 25 27 20 19 9 11"<<endl;
cout<<" 8 6 36 34 13 14"<<endl;
cout<<" 5 7 33 35 16 15"<<endl;
}
聰明人的做法
沒過的人: 這裡有愛心小提醒