fork(1) download
  1. using System;
  2.  
  3. public enum FlipRotate2dEnum : byte {
  4. None = 0, NO = None,
  5. RotateTwice = 1, R2 = RotateTwice,
  6. FlipX = 2, FX = FlipX,
  7. FlipY = 3, FY = FlipY,
  8. ReflectDiagonal1 = 4, D1 = ReflectDiagonal1,
  9. ReflectDiagonal2 = 5, D2 = ReflectDiagonal2,
  10. RotateClockwise = 6, RC = RotateClockwise,
  11. RotateCounterClockwise = 7, RСС = RotateCounterClockwise
  12. }
  13.  
  14. public class Test
  15. {
  16. public static void Main()
  17. {
  18. for(byte i = 0; i < 8; ++i) {
  19. FlipRotate2dEnum v = (FlipRotate2dEnum)i;
  20. System.Console.WriteLine("{0} {1}", i, v);
  21. } }
  22. }
Success #stdin #stdout 0.03s 15168KB
stdin
Standard input is empty
stdout
0 NO
1 R2
2 FX
3 FY
4 D1
5 D2
6 RC
7 RotateCounterClockwise