Language: C

#include <stdio.h>

#define ZERO
#define ONE
#define TWO
#define THREE
#define FOUR
#define FIVE
#define DICE_SURF

int main( void )
{

	unsigned char ubW_DdiceONE[ DICE_SURF ];
	unsigned char ubW_DdiceTWO[ DICE_SURF ];
	unsigned char ubW_Dtrade;
	unsigned char ubW_Dcalc;
	unsigned char ubW_Ci;

	for( ubW_Ci = ZERO; ubW_Ci < DICE_SURF; ubW_Ci++ ) {
		scanf("%d",&ubW_DdiceONE[ubW_Ci]);
	}
	for( ubW_Ci = ZERO; ubW_Ci < DICE_SURF; ubW_Ci++ ) {
		scanf("%d",&ubW_DdiceTWO[ubW_Ci]);
	}

	for( ubW_Ci = ONE; ubW_Ci <= DICE_SURF; ubW_Ci++ ){
		ubW_Dcalc = ubW_Ci % TWO;
		/*????????¢??¨????????¢?????°?????????????????£????????¨????????¢????????????*/
		switch( ubW_Dcalc ){
		case ZERO:/*??¶??°???????????¢*/
			ubW_Dtrade = ubW_DdiceTWO[ ZERO ];
			ubW_DdiceTWO[ ZERO ] = ubW_DdiceTWO[ TWO ];
			ubW_DdiceTWO[ TWO ] = ubW_DdiceTWO[ FIVE ];
			ubW_DdiceTWO[ FIVE ] = ubW_DdiceTWO[ THREE ];
			ubW_DdiceTWO[ THREE ] = ubW_Dtrade;
			break;
		case ONE:/*?\???°???????????¢*/
			ubW_Dtrade = ubW_DdiceTWO[ ZERO ];
			ubW_DdiceTWO[ ZERO ] = ubW_DdiceTWO[ ONE ];
			ubW_DdiceTWO[ ONE ] = ubW_DdiceTWO[ FIVE ];
			ubW_DdiceTWO[ FIVE ] = ubW_DdiceTWO[ FOUR ];
			ubW_DdiceTWO[ FOUR ] = ubW_Dtrade;
			break;
		default:
			break;
		}

		/*?????¢??¨?????¢????????´??????????????????????????¨????????´??¢??????????????????????????????*/
		if( ( ubW_DdiceONE[ ZERO ] == ubW_DdiceTWO[ ZERO ] ) && ( ubW_DdiceONE[ FIVE ] == ubW_DdiceTWO[ FIVE ] ) ){
			if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ ONE ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ TWO ] ) ){
				if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ FOUR ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ THREE ] ) ){
					printf("Yes\n");
					return ZERO;
				}
			}else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ TWO ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ FOUR ] ) ){
				if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ THREE ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ ONE ] ) ){
					printf("Yes\n");
					return ZERO;
				}
			}else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ FOUR ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ THREE ] ) ){
				if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ ONE ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ TWO ] ) ){
					printf("Yes\n");
					return ZERO;
				}
			}else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ THREE ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ ONE ] ) ){
				if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ TWO ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ FOUR ] ) ){
					printf("Yes\n");
					return ZERO;
				}
			}
		}
	}
	printf("No\n");

	return ZERO;
}

Compiler output:
main.c: In function 'main':
main.c:14:23: error: array size missing in 'ubW_DdiceONE'
   14 |         unsigned char ubW_DdiceONE[ DICE_SURF ];
      |                       ^~~~~~~~~~~~
main.c:15:23: error: array size missing in 'ubW_DdiceTWO'
   15 |         unsigned char ubW_DdiceTWO[ DICE_SURF ];
      |                       ^~~~~~~~~~~~
main.c:20:27: error: expected expression before ';' token
   20 |         for( ubW_Ci = ZERO; ubW_Ci < DICE_SURF; ubW_Ci++ ) {
      |                           ^
main.c:23:27: error: expected expression before ';' token
   23 |         for( ubW_Ci = ZERO; ubW_Ci < DICE_SURF; ubW_Ci++ ) {
      |                           ^
main.c:27:26: error: expected expression before ';' token
   27 |         for( ubW_Ci = ONE; ubW_Ci <= DICE_SURF; ubW_Ci++ ){
      |                          ^
main.c:28:41: error: expected expression before ';' token
   28 |                 ubW_Dcalc = ubW_Ci % TWO;
      |                                         ^
main.c:31:26: error: expected expression before ':' token
   31 |                 case ZERO:/*??¶??°???????????¢*/
      |                          ^
main.c:32:57: error: expected expression before ']' token
   32 |                         ubW_Dtrade = ubW_DdiceTWO[ ZERO ];
      |                                                         ^
main.c:33:44: error: expected expression before ']' token
   33 |                         ubW_DdiceTWO[ ZERO ] = ubW_DdiceTWO[ TWO ];
      |                                            ^
main.c:34:43: error: expected expression before ']' token
   34 |                         ubW_DdiceTWO[ TWO ] = ubW_DdiceTWO[ FIVE ];
      |                                           ^
main.c:35:44: error: expected expression before ']' token
   35 |                         ubW_DdiceTWO[ FIVE ] = ubW_DdiceTWO[ THREE ];
      |                                            ^
main.c:36:45: error: expected expression before ']' token
   36 |                         ubW_DdiceTWO[ THREE ] = ubW_Dtrade;
      |                                             ^
main.c:38:25: error: expected expression before ':' token
   38 |                 case ONE:/*?\???°???????????¢*/
      |                         ^
main.c:39:57: error: expected expression before ']' token
   39 |                         ubW_Dtrade = ubW_DdiceTWO[ ZERO ];
      |                                                         ^
main.c:40:44: error: expected expression before ']' token
   40 |                         ubW_DdiceTWO[ ZERO ] = ubW_DdiceTWO[ ONE ];
      |                                            ^
main.c:41:43: error: expected expression before ']' token
   41 |                         ubW_DdiceTWO[ ONE ] = ubW_DdiceTWO[ FIVE ];
      |                                           ^
main.c:42:44: error: expected expression before ']' token
   42 |                         ubW_DdiceTWO[ FIVE ] = ubW_DdiceTWO[ FOUR ];
      |                                            ^
main.c:43:44: error: expected expression before ']' token
   43 |                         ubW_DdiceTWO[ FOUR ] = ubW_Dtrade;
      |                                            ^
main.c:50:42: error: expected expression before ']' token
   50 |                 if( ( ubW_DdiceONE[ ZERO ] == ubW_DdiceTWO[ ZERO ] ) && ( ubW_DdiceONE[ FIVE ] == ubW_DdiceTWO[ FIVE ] ) ){
      |                                          ^
main.c:50:94: error: expected expression before ']' token
   50 |                 if( ( ubW_DdiceONE[ ZERO ] == ubW_DdiceTWO[ ZERO ] ) && ( ubW_DdiceONE[ FIVE ] == ubW_DdiceTWO[ FIVE ] ) ){
      |                                                                                              ^
main.c:51:49: error: expected expression before ']' token
   51 |                         if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ ONE ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ TWO ] ) ){
      |                                                 ^
main.c:51:99: error: expected expression before ']' token
   51 |                         if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ ONE ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ TWO ] ) ){
      |                                                                                                   ^
main.c:52:58: error: expected expression before ']' token
   52 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ FOUR ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ THREE ] ) ){
      |                                                          ^
main.c:52:111: error: expected expression before ']' token
   52 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ FOUR ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ THREE ] ) ){
      |                                                                                                               ^
main.c:54:41: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   54 |                                         return ZERO;
      |                                         ^~~~~~
main.c:11:5: note: declared here
   11 | int main( void )
      |     ^~~~
main.c:56:55: error: expected expression before ']' token
   56 |                         }else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ TWO ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ FOUR ] ) ){
      |                                                       ^
main.c:56:105: error: expected expression before ']' token
   56 |                         }else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ TWO ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ FOUR ] ) ){
      |                                                                                                         ^
main.c:57:58: error: expected expression before ']' token
   57 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ THREE ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ ONE ] ) ){
      |                                                          ^
main.c:57:112: error: expected expression before ']' token
   57 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ THREE ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ ONE ] ) ){
      |                                                                                                                ^
main.c:59:41: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   59 |                                         return ZERO;
      |                                         ^~~~~~
main.c:11:5: note: declared here
   11 | int main( void )
      |     ^~~~
main.c:61:55: error: expected expression before ']' token
   61 |                         }else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ FOUR ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ THREE ] ) ){
      |                                                       ^
main.c:61:106: error: expected expression before ']' token
   61 |                         }else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ FOUR ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ THREE ] ) ){
      |                                                                                                          ^
main.c:62:58: error: expected expression before ']' token
   62 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ ONE ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ TWO ] ) ){
      |                                                          ^
main.c:62:110: error: expected expression before ']' token
   62 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ ONE ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ TWO ] ) ){
      |                                                                                                              ^
main.c:64:41: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   64 |                                         return ZERO;
      |                                         ^~~~~~
main.c:11:5: note: declared here
   11 | int main( void )
      |     ^~~~
main.c:66:55: error: expected expression before ']' token
   66 |                         }else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ THREE ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ ONE ] ) ){
      |                                                       ^
main.c:66:107: error: expected expression before ']' token
   66 |                         }else if( ( ubW_DdiceONE[ ONE ] == ubW_DdiceTWO[ THREE ] ) && ( ubW_DdiceONE[ TWO ] == ubW_DdiceTWO[ ONE ] ) ){
      |                                                                                                           ^
main.c:67:58: error: expected expression before ']' token
   67 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ TWO ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ FOUR ] ) ){
      |                                                          ^
main.c:67:110: error: expected expression before ']' token
   67 |                                 if( ( ubW_DdiceONE[ FOUR ] == ubW_DdiceTWO[ TWO ] ) && ( ubW_DdiceONE[ THREE ] == ubW_DdiceTWO[ FOUR ] ) ){
      |                                                                                                              ^
main.c:69:41: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   69 |                                         return ZERO;
      |                                         ^~~~~~
main.c:11:5: note: declared here
   11 | int main( void )
      |     ^~~~
main.c:76:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   76 |         return ZERO;
      |         ^~~~~~
main.c:11:5: note: declared here
   11 | int main( void )
      |     ^~~~