fork download
  1. #include <stdio.h>
  2. #define M ('B' - 'A' + 1)
  3.  
  4. char moji[] =
  5. "AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA\n"
  6. "BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA \n"
  7. " EEEEEEEEEEEEEE FFFFFFF DDD\n"
  8. "DDDGGGBBBBBBBB SSSSSSSS DDFFFFAAAAAAA\n";
  9.  
  10. int main(void)
  11. {
  12. int cycle[M] = {5, 3};
  13. int count[M] = {5, 3};
  14. int show[M] = {1, 1};
  15. char *p;
  16. int i, n;
  17.  
  18. for (n = 100; n; --n) {
  19. puts("----------------");
  20. for (p = moji; *p; p++) {
  21. if (*p == 'A' || *p == 'B') {
  22. if (show[*p - 'A'])
  23. putchar(*p);
  24. else
  25. putchar(' ');
  26. } else {
  27. putchar(*p);
  28. }
  29. }
  30. fflush(stdout);
  31. for (i = 0; i < M; ++i)
  32. if (!--count[i]) {
  33. count[i] = cycle[i];
  34. show[i] ^= 1;
  35. }
  36. // usleep(100000); // ←時間稼ぎ Windowsで動くかわからん。
  37. }
  38. }
  39.  
  40.  
Success #stdin #stdout 0.02s 1676KB
stdin
Standard input is empty
stdout
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AABAAADDAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
BBBBBBBBBCCCBBBBBDDDBBDDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
AA AAADDAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA
         CCC     DDD  DDDAAAAAAAAAAAAA  
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFFAAAAAAA
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
  B   DD                           B    
BBBBBBBBBCCCBBBBBDDDBBDDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGGBBBBBBBB    SSSSSSSS DDFFFF       
----------------
      DD                                
         CCC     DDD  DDD               
  EEEEEEEEEEEEEE     FFFFFFF         DDD
DDDGGG            SSSSSSSS DDFFFF