SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
Code Jam Japan 2011
練習問題A: 数珠繋ぎ


     @Kshi_Kshi
初期   off




                 E:enable, S:on
                 E:enable, S:off
                 E:disable, S:on
                 E:disable, S:off
           E(Electronic): enable / disable
           S(Switch):     on / off
1回目   on

           off




                       E:enable, S:on
                       E:enable, S:off
                       E:disable, S:on
                       E:disable, S:off
                 E(Electronic): enable / disable
                 S(Switch):     on / off
2回目   off

            on




                       E:enable, S:on
                       E:enable, S:off
                       E:disable, S:on
                       E:disable, S:off
                 E(Electronic): enable / disable
                 S(Switch):     on / off
3回目   on

           on




                off




                       E:enable, S:on
                       E:enable, S:off
                       E:disable, S:on
                       E:disable, S:off
                 E(Electronic): enable / disable
                 S(Switch):     on / off
4回目   off

            off




                  on




                        E:enable, S:on
                        E:enable, S:off
                        E:disable, S:on
                        E:disable, S:off
                  E(Electronic): enable / disable
                  S(Switch):     on / off
5回目   on

           off




                 on




                       E:enable, S:on
                       E:enable, S:off
                       E:disable, S:on
                       E:disable, S:off
                 E(Electronic): enable / disable
                 S(Switch):     on / off
6回目   off

            on




                 on




                       E:enable, S:on
                       E:enable, S:off
                       E:disable, S:on
                       E:disable, S:off
                 E(Electronic): enable / disable
                 S(Switch):     on / off
7回目   on

           on




                on




                off

                       E:enable, S:on
                       E:enable, S:off
                       E:disable, S:on
                       E:disable, S:off
                 E(Electronic): enable / disable
                 S(Switch):     on / off
8回目   off

            off




                  off




                  on

                          E:enable, S:on
                          E:enable, S:off
                          E:disable, S:on
                          E:disable, S:off
                    E(Electronic): enable / disable
                    S(Switch):     on / off
9回目   on

           off




                 off




                 on

                        E:enable, S:on
                        E:enable, S:off
                        E:disable, S:on
                        E:disable, S:off
                  E(Electronic): enable / disable
                  S(Switch):     on / off
10回目   off

             on




                  off




                  on

                         E:enable, S:on
                         E:enable, S:off
                         E:disable, S:on
                         E:disable, S:off
                   E(Electronic): enable / disable
                   S(Switch):     on / off
11回目   on

            on




                 off




                 on

                       E:enable, S:on
                       E:enable, S:off
                       E:disable, S:on
                       E:disable, S:off
                 E(Electronic): enable / disable
                 S(Switch):     on / off
12回目   off

             off




                   on




                   on

                         E:enable, S:on
                         E:enable, S:off
                         E:disable, S:on
                         E:disable, S:off
                   E(Electronic): enable / disable
                   S(Switch):     on / off
13回目   on

            off




                  on




                  on

                         E:enable, S:on
                         E:enable, S:off
                         E:disable, S:on
                         E:disable, S:off
                   E(Electronic): enable / disable
                   S(Switch):     on / off
14回目   off

             on




                  on




                  on

                         E:enable, S:on
                         E:enable, S:off
                         E:disable, S:on
                         E:disable, S:off
                   E(Electronic): enable / disable
                   S(Switch):     on / off
15回目   on

            on




                       on




                       on

                             E:enable, S:on
                             E:enable, S:off
                             E:disable, S:on
                 off
                             E:disable, S:off
                       E(Electronic): enable / disable
                       S(Switch):     on / off
N = 4の場合
初期                              off




        E:enable, S:on
        E:enable, S:off
                                        電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
1回目                              on

                                       off




        E:enable, S:on
        E:enable, S:off
                                             電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
2回目                              off

                                        on




        E:enable, S:on
        E:enable, S:off
                                         電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
3回目                              on

                                       on




                                             off



        E:enable, S:on
        E:enable, S:off
                                        電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
4回目                              off

                                        off




                                               on



        E:enable, S:on
        E:enable, S:off
                                          電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
5回目                              on

                                       off




                                              on



        E:enable, S:on
        E:enable, S:off
                                         電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
6回目                              off

                                        on




                                              on



        E:enable, S:on
        E:enable, S:off
                                         電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
7回目                              on

                                       on




                                             on



        E:enable, S:on
        E:enable, S:off
                                        電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off
8回目(=初期)                        off

    周期は8.




        E:enable, S:on
        E:enable, S:off
                                        電球
        E:disable, S:on
        E:disable, S:off
   電             電
   球   L: Off    球    L: On
E(Electronic): enable / disable
S(Switch):     on / off
L(lamp):       on / off

Mais conteúdo relacionado

Destaque

Issues for people living in squatter settlements in led cs
Issues for people living in squatter settlements in led csIssues for people living in squatter settlements in led cs
Issues for people living in squatter settlements in led cstudorgeog
 
What are the issues for people living in squatter settlements in poorer parts...
What are the issues for people living in squatter settlements in poorer parts...What are the issues for people living in squatter settlements in poorer parts...
What are the issues for people living in squatter settlements in poorer parts...anwonka
 
Urban problems
Urban problemsUrban problems
Urban problemsafifibs
 
Introduction to town planning
Introduction to town planningIntroduction to town planning
Introduction to town planningctlachu
 
Engineering Geology (Civil Engineering Applications)
Engineering Geology (Civil Engineering Applications)Engineering Geology (Civil Engineering Applications)
Engineering Geology (Civil Engineering Applications)GAURAV. H .TANDON
 

Destaque (7)

Skyline queries
Skyline queriesSkyline queries
Skyline queries
 
Issues for people living in squatter settlements in led cs
Issues for people living in squatter settlements in led csIssues for people living in squatter settlements in led cs
Issues for people living in squatter settlements in led cs
 
What are the issues for people living in squatter settlements in poorer parts...
What are the issues for people living in squatter settlements in poorer parts...What are the issues for people living in squatter settlements in poorer parts...
What are the issues for people living in squatter settlements in poorer parts...
 
Structural Geology
Structural Geology Structural Geology
Structural Geology
 
Urban problems
Urban problemsUrban problems
Urban problems
 
Introduction to town planning
Introduction to town planningIntroduction to town planning
Introduction to town planning
 
Engineering Geology (Civil Engineering Applications)
Engineering Geology (Civil Engineering Applications)Engineering Geology (Civil Engineering Applications)
Engineering Geology (Civil Engineering Applications)
 

Mais de Kenji Koshikawa

[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...
[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...
[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...Kenji Koshikawa
 
[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~
[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~
[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~Kenji Koshikawa
 
集合知プログラミング 第6章 ドキュメントとフィルタリング~draft
集合知プログラミング 第6章 ドキュメントとフィルタリング~draft集合知プログラミング 第6章 ドキュメントとフィルタリング~draft
集合知プログラミング 第6章 ドキュメントとフィルタリング~draftKenji Koshikawa
 
Google code jam japan2011 練習問題a
Google code jam japan2011 練習問題aGoogle code jam japan2011 練習問題a
Google code jam japan2011 練習問題aKenji Koshikawa
 
[WWW Conference 2011]Information Credibility on Twitter
[WWW Conference 2011]Information Credibility on Twitter[WWW Conference 2011]Information Credibility on Twitter
[WWW Conference 2011]Information Credibility on TwitterKenji Koshikawa
 

Mais de Kenji Koshikawa (8)

20130120
2013012020130120
20130120
 
Jaws2012 koshikawa
Jaws2012 koshikawaJaws2012 koshikawa
Jaws2012 koshikawa
 
[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...
[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...
[International Asian LOD Challenge Day 2012]LOD generation of Social and Mass...
 
[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~
[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~
[JAWS2012]CRFを用いた メディア情報の抽出とLinked Data化 ~ ソーシャルメディアとマスメディアの比較事例 ~
 
Sna book chapter_5
Sna book chapter_5Sna book chapter_5
Sna book chapter_5
 
集合知プログラミング 第6章 ドキュメントとフィルタリング~draft
集合知プログラミング 第6章 ドキュメントとフィルタリング~draft集合知プログラミング 第6章 ドキュメントとフィルタリング~draft
集合知プログラミング 第6章 ドキュメントとフィルタリング~draft
 
Google code jam japan2011 練習問題a
Google code jam japan2011 練習問題aGoogle code jam japan2011 練習問題a
Google code jam japan2011 練習問題a
 
[WWW Conference 2011]Information Credibility on Twitter
[WWW Conference 2011]Information Credibility on Twitter[WWW Conference 2011]Information Credibility on Twitter
[WWW Conference 2011]Information Credibility on Twitter
 

Último

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Code jam japan2011 練習問題A

  • 1. Code Jam Japan 2011 練習問題A: 数珠繋ぎ @Kshi_Kshi
  • 2. 初期 off E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 3. 1回目 on off E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 4. 2回目 off on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 5. 3回目 on on off E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 6. 4回目 off off on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 7. 5回目 on off on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 8. 6回目 off on on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 9. 7回目 on on on off E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 10. 8回目 off off off on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 11. 9回目 on off off on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 12. 10回目 off on off on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 13. 11回目 on on off on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 14. 12回目 off off on on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 15. 13回目 on off on on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 16. 14回目 off on on on E:enable, S:on E:enable, S:off E:disable, S:on E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 17. 15回目 on on on on E:enable, S:on E:enable, S:off E:disable, S:on off E:disable, S:off E(Electronic): enable / disable S(Switch): on / off
  • 19. 初期 off E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 20. 1回目 on off E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 21. 2回目 off on E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 22. 3回目 on on off E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 23. 4回目 off off on E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 24. 5回目 on off on E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 25. 6回目 off on on E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 26. 7回目 on on on E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off
  • 27. 8回目(=初期) off 周期は8. E:enable, S:on E:enable, S:off 電球 E:disable, S:on E:disable, S:off 電 電 球 L: Off 球 L: On E(Electronic): enable / disable S(Switch): on / off L(lamp): on / off