{"id":338,"date":"2026-05-31T12:03:00","date_gmt":"2026-05-31T12:03:00","guid":{"rendered":"https:\/\/accelthinking.com\/staging\/4969\/?p=338"},"modified":"2026-06-01T18:46:09","modified_gmt":"2026-06-01T18:46:09","slug":"ccc-2026-j5-solution-analysis","status":"publish","type":"post","link":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/","title":{"rendered":"CCC 2026 J5\/S2 &#8211; Beams of Light Solution &#038; Analysis"},"content":{"rendered":"<style>\nhtml,body,#page{background:#f8fafc!important}.site-header,.site-footer,#masthead,#colophon,.entry-header{display:none!important}.entry-title{display:none!important}.site-content .ast-container{max-width:100%!important;padding:0!important}.entry-content{margin:0!important;line-height:0!important}.site-content,#content,#primary,#main,.ast-plain-container #primary{margin:0!important;padding:0!important;background:#f8fafc}.ast-article-single{padding:0!important}\n.ati-page,.ati-page *{box-sizing:border-box}.entry-content>.ati-page,.ati-page{display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;font-family:Inter,Arial,sans-serif;color:#0f172a;background:#f8fafc;font-size:0;line-height:0}.ati-page>p,.ati-page main>p,.ati-footer>p{display:none!important;margin:0!important}.ati-page a{text-decoration:none;color:inherit}.ati-page svg{display:block}.ati-top,.ati-page main,.ati-footer{font-size:16px;line-height:1.5}\n.ati-top{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:76px;padding:0 clamp(22px,6vw,116px);color:#fff;background:#050505;border-bottom:1px solid rgba(255,255,255,.08)}.ati-top>p{display:contents!important}.ati-top br,.ati-nav br{display:none!important}.ati-brand{display:inline-flex;align-items:center;width:max-content;color:#ffc400!important}.ati-logo img{display:block;width:auto;height:38px;max-width:min(260px,42vw);object-fit:contain}.ati-nav{display:flex;gap:clamp(20px,3vw,44px);align-items:center;justify-content:center;font-size:15px;font-weight:600}.ati-nav a{position:relative;padding:28px 0 24px;color:rgba(255,255,255,.86)!important}.ati-nav a:hover,.ati-nav a.active{color:#ffc400!important}.ati-nav a:after{position:absolute;right:0;bottom:19px;left:0;height:2px;content:\"\";background:#ffc400;transform:scaleX(0);transition:transform 160ms ease}.ati-nav a:hover:after,.ati-nav a.active:after{transform:scaleX(1)}.ati-header-cta{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;color:#050505!important;background:#ffc400;border-radius:8px;font-size:14px;font-weight:800}\n.ati-page{--hero-pattern:radial-gradient(circle at 82% 24%,rgba(255,196,0,.18) 0 2px,transparent 3px),linear-gradient(135deg,rgba(255,255,255,.07) 1px,transparent 1px);--hero-pattern-size:90px 90px,38px 38px;--hero-pattern-opacity:.55}.ati-solutions{--hero-pattern:radial-gradient(circle at 25px 25px,rgba(255,196,0,.2) 0 2px,transparent 3px),linear-gradient(90deg,rgba(255,196,0,.09) 1px,transparent 1px),linear-gradient(0deg,rgba(255,255,255,.06) 1px,transparent 1px);--hero-pattern-size:96px 96px,96px 96px,96px 96px}.ati-cp-academy{--hero-pattern:radial-gradient(circle at 20px 20px,rgba(255,196,0,.26) 0 3px,transparent 4px),radial-gradient(circle at 74px 58px,rgba(20,184,166,.18) 0 2px,transparent 3px),linear-gradient(135deg,transparent 46%,rgba(255,196,0,.11) 47% 48%,transparent 49%);--hero-pattern-size:112px 112px,112px 112px,56px 56px}.ati-it-consulting{--hero-pattern:linear-gradient(90deg,transparent 0 28px,rgba(20,184,166,.14) 29px 30px,transparent 31px 72px),linear-gradient(0deg,transparent 0 28px,rgba(255,196,0,.1) 29px 30px,transparent 31px 72px),radial-gradient(circle at 30px 30px,rgba(20,184,166,.22) 0 2px,transparent 3px);--hero-pattern-size:72px 72px,72px 72px,72px 72px}.ati-about-page{--hero-pattern:linear-gradient(135deg,rgba(255,196,0,.12) 0 2px,transparent 2px 28px),radial-gradient(circle at 85% 28%,rgba(255,255,255,.12) 0 2px,transparent 3px);--hero-pattern-size:42px 42px,96px 96px}.ati-contact{--hero-pattern:radial-gradient(circle at 78% 44%,transparent 0 34px,rgba(255,196,0,.14) 35px 36px,transparent 37px 70px,rgba(20,184,166,.12) 71px 72px,transparent 73px),linear-gradient(135deg,rgba(255,255,255,.06) 1px,transparent 1px);--hero-pattern-size:220px 220px,42px 42px}.ati-cp-weekly-challenge{--hero-pattern:radial-gradient(circle at 18px 18px,rgba(255,196,0,.2) 0 2px,transparent 3px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);--hero-pattern-size:52px 52px,104px 104px}.ati-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(28px,6vw,90px);align-items:center;min-height:430px;padding:76px clamp(22px,10vw,160px);overflow:hidden;color:#fff;background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.6)),var(--hero) center\/cover no-repeat}.ati-hero:after{position:absolute;inset:0;content:\"\";background:var(--hero-pattern);background-size:var(--hero-pattern-size);opacity:var(--hero-pattern-opacity);mix-blend-mode:screen;pointer-events:none}.ati-hero>*{position:relative;z-index:1}.ati-label{margin:0 0 12px!important;color:#ffb000!important;font-size:13px!important;font-weight:800!important;letter-spacing:.08em;text-transform:uppercase}.ati-hero h1{max-width:840px;margin:0!important;color:#fff!important;font-size:clamp(42px,5vw,72px)!important;line-height:1.03!important;font-weight:800!important;letter-spacing:0}.ati-hero-title-line{display:block;color:#fff!important}.ati-hero-title-line.accent{color:#ffc400!important}.ati-word{display:inline-block;white-space:nowrap}.ati-word:not(:last-child){margin-right:.32em}.ati-letter{display:inline-block;opacity:0;transform:translateY(.34em);animation:ati-letter-in 520ms cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(38ms * var(--i))}@keyframes ati-letter-in{0%{opacity:0;transform:translateY(.34em)}100%{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.ati-letter{opacity:1;transform:none;animation:none}}.ati-hero p:not(.ati-label){max-width:700px;margin:22px 0 0!important;color:rgba(255,255,255,.86)!important;font-size:19px!important}.ati-side{padding:28px;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:8px;backdrop-filter:blur(18px)}.ati-side strong{display:block;color:#ffc400;font-size:22px;line-height:1.15;overflow-wrap:anywhere}.ati-side p{margin:12px 0 0!important;color:rgba(255,255,255,.78)!important}.ati-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}.ati-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:8px;font-size:15px;font-weight:800}.ati-primary{color:#050505!important;background:linear-gradient(135deg,#ffc400,#ffb000);box-shadow:0 18px 38px rgba(255,196,0,.25)}.ati-secondary{color:#fff!important;border:1px solid #ffc400}\n.ati-section,.ati-about{max-width:1320px;margin:0 auto;padding:72px clamp(22px,6vw,64px)}.ati-heading{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:end;margin-bottom:32px}.ati-heading h2,.ati-split h2{margin:0!important;color:#050505!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.08!important}.ati-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ati-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.ati-card{padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 18px 45px rgba(15,23,42,.06)}.ati-card .ati-num{color:#b47c00;font-size:14px;font-weight:800;text-transform:uppercase}.ati-card h3{margin:12px 0 0!important;color:#050505!important;font-size:22px!important;line-height:1.12!important}.ati-card p{margin:12px 0 0!important;color:#172033!important}.ati-task-card h3{margin:0!important}.ati-task-card h3 .ati-num{display:inline;color:#b47c00;font-size:22px;line-height:1.12}.ati-task-card p{margin-top:14px!important}.ati-split{max-width:1320px;margin:0 auto;padding:72px clamp(22px,6vw,64px);display:grid;grid-template-columns:.85fr 1.15fr;gap:52px;border-top:1px solid #e2e8f0}.ati-list{display:grid;gap:14px}.ati-list article{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.ati-list b{display:block;color:#050505;font-size:18px}.ati-list span{display:block;margin-top:6px;color:#172033}.ati-dark{max-width:none;background:linear-gradient(135deg,#050505,#0f172a);color:#fff;border:0;padding-left:clamp(22px,10vw,160px);padding-right:clamp(22px,10vw,160px)}.ati-dark h2,.ati-dark p{color:#fff!important}.ati-dark .ati-list article{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}.ati-dark .ati-list b{color:#ffc400}.ati-dark .ati-list span{color:rgba(255,255,255,.78)}.ati-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.ati-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ati-benefits span{padding:18px 20px;color:#0f3d37;background:rgba(20,184,166,.1);border:1px solid rgba(20,184,166,.24);border-radius:8px;font-weight:800}.ati-side .ati-side-link{display:inline-flex;margin-top:18px;min-height:42px;padding:0 16px;align-items:center;justify-content:center;color:#050505!important;background:#ffc400;border-radius:8px;font-size:14px;font-weight:800}.ati-challenge-entry{max-width:1320px;margin:0 auto;padding:0 clamp(22px,6vw,64px) 72px}.ati-challenge-entry+.ati-challenge-entry{padding-top:0}.ati-challenge-panel{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:28px 30px;color:#fff;background:linear-gradient(135deg,#050505,#111827);border:1px solid rgba(255,196,0,.36);border-radius:8px;box-shadow:0 24px 55px rgba(15,23,42,.16)}.ati-challenge-entry h2{margin:0!important;color:#fff!important;font-size:clamp(24px,3vw,36px)!important;line-height:1.08!important}.ati-challenge-entry p{margin:8px 0 0!important;color:#dbe4ef!important}.ati-challenge-entry a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;color:#050505!important;background:#ffc400;border-radius:8px;font-weight:800;white-space:nowrap}.ati-posts{display:grid;gap:18px}.ati-posts article{padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.ati-posts h2{margin:0!important;color:#050505!important;font-size:28px!important}.ati-tag{color:#b47c00;font-size:13px;font-weight:800;text-transform:uppercase}\n.ati-assessment{display:grid;gap:18px}.ati-assessment-frame{display:block;width:100%;min-height:3300px;border:0;background:#f8fafc}.ati-embed{overflow:hidden;border:1px solid #1e293b;border-radius:8px;background:#050505;box-shadow:0 18px 45px rgba(15,23,42,.12)}.ati-embed iframe{display:block;width:100%;min-height:760px;border:0}.ati-levels{display:grid;gap:10px;margin:0;padding:0;list-style:none}.ati-levels li{padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#172033}.ati-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}@media(max-width:800px){.ati-task-grid{grid-template-columns:1fr}.ati-assessment-frame{min-height:4300px}}\nbody .ati-wpforms .wpforms-container{margin:0!important}body .ati-wpforms form,body .ati-wpforms .wpforms-field-container{display:flex!important;flex-direction:column!important}body .ati-wpforms .wpforms-field{padding:10px 0 16px!important}body .ati-wpforms .wpforms-field.wpforms-field-text{display:none!important}body .ati-wpforms .wpforms-field.wpforms-field-select{order:-10!important}body .ati-wpforms .wpforms-field-label{font-weight:800!important;color:#050505!important}body .ati-wpforms .wpforms-field-row{max-width:100%!important}body .ati-wpforms .wpforms-field-row-block{width:100%!important;padding:0!important;margin-bottom:12px!important}body .ati-wpforms input,body .ati-wpforms textarea,body .ati-wpforms select{width:100%!important;max-width:100%!important;min-height:48px!important;padding:12px 14px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#f8fafc!important;color:#0f172a!important;font:inherit!important}body .ati-wpforms select{appearance:auto!important}body .ati-wpforms button[type=submit]{min-height:52px!important;padding:0 26px!important;border:0!important;border-radius:8px!important;color:#050505!important;background:linear-gradient(135deg,#ffc400,#ffb000)!important;box-shadow:0 18px 38px rgba(255,196,0,.24)!important;font-weight:800!important}\n#wpforms-76-field_5-container,#wpforms-76-field_6-container{display:none!important}#wpforms-76-field_4-container{order:-10!important}\n.ati-challenge-query .wp-block-post-template,.ati-challenge-posts{display:grid!important;gap:18px!important;padding:0!important;margin:0!important;list-style:none!important}.ati-challenge-query .wp-block-post,.ati-challenge-posts li{padding:26px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:8px!important;box-shadow:0 18px 45px rgba(15,23,42,.06)}.ati-challenge-query h2{margin:0!important}.ati-challenge-query h2 a,.ati-challenge-posts a{display:block;color:#050505!important;font-size:clamp(23px,2.8vw,31px);font-weight:800;line-height:1.12}.ati-challenge-query h2 a:hover,.ati-challenge-posts a:hover{color:#b47c00!important}.ati-challenge-query time,.ati-challenge-posts time{display:block;margin-top:10px;color:#b47c00;font-size:13px;font-weight:800;text-transform:uppercase}.ati-challenge-query .wp-block-post-excerpt,.ati-challenge-posts .wp-block-latest-posts__post-excerpt{margin:12px 0 0!important;color:#172033!important;font-size:16px;line-height:1.55}.ati-challenge-query .wp-block-post-excerpt__more-link{display:inline-flex;margin-top:14px;color:#b47c00!important;font-weight:800}.ati-article{max-width:1080px;margin:0 auto;padding:72px clamp(22px,6vw,64px);font-size:18px;line-height:1.7}.ati-article-card{padding:clamp(28px,5vw,56px);background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 18px 45px rgba(15,23,42,.06)}.ati-article-card p{margin:0 0 22px!important;color:#172033!important}.ati-article-card h2{margin:42px 0 14px!important;color:#050505!important;font-size:clamp(25px,3vw,36px)!important;line-height:1.1!important}.ati-article-card ul{margin:0 0 24px 22px!important;color:#172033}.ati-article-card li{margin:8px 0}.ati-article-card pre{overflow:auto;margin:16px 0 28px!important;padding:20px!important;color:#f8fafc!important;background:#0b1020!important;border:1px solid #1e293b;border-radius:8px;font-size:14px;line-height:1.55}.ati-article-card pre code{display:block!important;padding:0!important;color:#f8fafc!important;background:transparent!important;border:0!important;font-family:Menlo,Consolas,monospace;white-space:pre}.ati-back-link{display:inline-flex;margin-bottom:18px;color:#b47c00!important;font-size:14px;font-weight:800}\n.ati-footer{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;min-height:90px;padding:22px clamp(22px,10vw,160px);color:#f8fafc;background:#050505;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ati-footer .ati-logo img{height:36px;max-width:240px}.ati-footer a{color:#f8fafc!important}.ati-footer a:hover{color:#ffc400!important}.ati-footer nav{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;font-size:14px;font-weight:600;line-height:1.35}.ati-footer address{display:grid;gap:5px;justify-self:end;color:#dbe4ef;font-size:14.5px;font-weight:500;line-height:1.35;font-style:normal;margin:0!important}.ati-footer address a{font-weight:700}.ati-footer address span{color:#cbd5e1}\n.ati-menu-toggle,.ati-menu-button{display:none}@media(max-width:1100px){.ati-top,.ati-hero,.ati-heading,.ati-grid,.ati-grid.five,.ati-split,.ati-path,.ati-footer,.ati-challenge-panel{grid-template-columns:1fr}.ati-header-cta,.ati-footer address{justify-self:start}.ati-nav{justify-content:flex-start;flex-wrap:wrap}.ati-split{gap:30px}.ati-benefits{grid-template-columns:1fr}.ati-challenge-entry a{justify-self:start}}@media(max-width:700px){.ati-top{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:0!important;padding:16px 22px!important}.ati-logo img{height:34px}.ati-menu-button{display:grid;gap:5px;place-content:center;width:44px;height:40px;color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:8px;cursor:pointer}.ati-menu-button span{display:block;width:20px;height:2px;background:#ffc400;border-radius:999px}.ati-nav{display:none!important;grid-column:1\/-1;width:100%;gap:0;margin-top:14px;padding:10px 0;border-top:1px solid rgba(255,255,255,.1)}.ati-nav a{padding:11px 0!important}.ati-nav a:after{bottom:5px}.ati-header-cta{display:none!important}.ati-menu-toggle:checked~.ati-nav{display:grid!important}.ati-menu-toggle:checked~.ati-header-cta{display:inline-flex!important;grid-column:1\/-1;justify-self:start;margin-top:12px}.ati-hero{min-height:auto;padding:60px 22px}.ati-hero h1{font-size:40px!important}.ati-footer nav{justify-content:flex-start}}\n@media(max-width:1100px){.ati-top{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:0!important;padding:16px 22px!important}.ati-logo img{height:34px}.ati-menu-button{display:grid!important;gap:5px;place-content:center;width:44px;height:40px;color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:8px;cursor:pointer}.ati-menu-button span{display:block;width:20px;height:2px;background:#ffc400;border-radius:999px}.ati-nav{display:none!important;grid-column:1\/-1;width:100%;gap:0;margin-top:14px;padding:10px 0;border-top:1px solid rgba(255,255,255,.1)}.ati-nav a{padding:11px 0!important}.ati-nav a:after{bottom:5px}.ati-header-cta{display:none!important}.ati-menu-toggle:checked~.ati-nav{display:grid!important}.ati-menu-toggle:checked~.ati-header-cta{display:inline-flex!important;grid-column:1\/-1;justify-self:start;margin-top:12px}}\n.ati-mobile-menu{display:none}.ati-mobile-menu summary{list-style:none}.ati-mobile-menu summary::-webkit-details-marker{display:none}@media(max-width:1100px){.ati-mobile-menu{display:block!important;position:absolute!important;top:18px!important;right:22px!important;z-index:9999!important}.ati-mobile-menu summary{display:grid!important;gap:5px;place-content:center;width:44px;height:40px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:#050505;cursor:pointer}.ati-mobile-menu summary span{display:block;width:20px;height:2px;background:#ffc400;border-radius:999px}.ati-mobile-menu summary:before{display:block;width:20px;height:2px;content:\"\";background:#ffc400;border-radius:999px;box-shadow:0 7px 0 #ffc400,0 14px 0 #ffc400}.ati-mobile-menu summary span{display:none}.ati-mobile-menu[open] summary{border-color:rgba(255,196,0,.62);background:rgba(255,196,0,.1)}.ati-mobile-panel{position:absolute;top:52px;right:0;display:grid;gap:2px;width:min(78vw,320px);padding:12px;background:#050505;border:1px solid rgba(255,255,255,.14);border-radius:8px;box-shadow:0 24px 60px rgba(0,0,0,.46)}.ati-mobile-panel a{display:block;padding:12px 14px;color:#f8fafc!important;border-radius:6px;font-size:15px;font-weight:800;line-height:1.2}.ati-mobile-panel a.active,.ati-mobile-panel a:hover{color:#ffc400!important;background:rgba(255,255,255,.06)}.ati-mobile-panel .ati-mobile-cta{margin-top:6px;color:#050505!important;background:#ffc400;text-align:center}.ati-mobile-panel .ati-mobile-cta:hover{color:#050505!important;background:#ffcf33}}\n.ati-mobile-menu-button{position:absolute!important;top:18px!important;right:22px!important;z-index:10000!important;display:grid!important;place-content:center;width:44px;height:40px;color:#ffc400!important;border:1px solid rgba(255,255,255,.24);border-radius:8px;background:#050505;font-size:27px!important;font-weight:800;line-height:1;text-decoration:none!important}.ati-mobile-menu-button:before{display:none!important}.ati-mobile-nav-panel{display:none;position:absolute!important;top:70px!important;right:22px!important;z-index:10000!important;width:min(78vw,320px);padding:12px;background:#050505;border:1px solid rgba(255,255,255,.14);border-radius:8px;box-shadow:0 24px 60px rgba(0,0,0,.46)}.ati-mobile-nav-panel:target{display:grid!important;gap:2px}.ati-mobile-nav-panel a{display:block;padding:12px 14px;color:#f8fafc!important;border-radius:6px;font-size:15px;font-weight:800;line-height:1.2}.ati-mobile-nav-panel a.active,.ati-mobile-nav-panel a:hover{color:#ffc400!important;background:rgba(255,255,255,.06)}.ati-mobile-nav-panel .ati-mobile-cta{margin-top:6px;color:#050505!important;background:#ffc400;text-align:center}.ati-mobile-nav-panel .ati-mobile-close{color:#94a3b8!important;text-align:center;font-size:13px}@media(min-width:1101px){.ati-mobile-menu-button,.ati-mobile-nav-panel{display:none!important}}@media(max-width:1100px){.ati-mobile-menu{display:none!important}}\n.trp-language-switcher.trp-floating-switcher{position:fixed!important;top:auto!important;right:22px!important;bottom:22px!important;z-index:10001!important;width:auto!important;min-width:118px!important;--bottom:22px!important;--right:22px!important;--border-radius:8px!important;--bg:#050505!important;--bg-hover:rgba(255,255,255,.08)!important;--text:#f8fafc!important;--text-hover:#ffc400!important;--border:1px solid rgba(255,255,255,.2)!important}.trp-language-switcher .trp-language-switcher-inner{background:#050505!important;border-color:rgba(255,255,255,.2)!important;border-radius:8px!important;box-shadow:0 18px 42px rgba(0,0,0,.28)!important}.trp-language-switcher .trp-language-item{color:#f8fafc!important;font-weight:800!important}.trp-language-switcher .trp-language-item:hover{color:#ffc400!important;background:rgba(255,255,255,.08)!important}.trp-language-switcher .trp-flag-image{display:none!important}.trp-language-switcher .trp-language-item-name{margin-left:0!important}.ati-header-cta{margin-right:0}@media(max-width:1100px){.trp-language-switcher.trp-floating-switcher{right:18px!important;bottom:18px!important;min-width:118px!important;--bottom:18px!important;--right:18px!important}}\n<\/style>\n<div class=\"ati-page ati-cp-weekly-challenge\" style=\"--hero:url(https:\/\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/hero-technology-education-51.png)\">\n<header class=\"ati-top\">\n      <a class=\"ati-brand ati-logo\" href=\"\/staging\/4969\/\" aria-label=\"Accel Thinking home\"><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png?ssl=1\" alt=\"Accel Thinking\"><\/a><br \/>\n      <input class=\"ati-menu-toggle\" id=\"ati-menu-cp-weekly-challenge\" type=\"checkbox\" aria-label=\"Toggle navigation menu\"><br \/>\n      <label class=\"ati-menu-button\" for=\"ati-menu-cp-weekly-challenge\" aria-hidden=\"true\"><span><\/span><span><\/span><span><\/span><\/label><\/p>\n<details class=\"ati-mobile-menu\">\n<summary aria-label=\"Open navigation menu\"><span><\/span><span><\/span><span><\/span><\/summary>\n<div class=\"ati-mobile-panel\"><a class=\"\" href=\"\/staging\/4969\/\">Home<\/a><a class=\"\" href=\"\/staging\/4969\/solutions\/\">Solutions<\/a><a class=\"\" href=\"\/staging\/4969\/cp-academy\/\">CP Academy<\/a><a class=\"\" href=\"\/staging\/4969\/it-consulting\/\">IT Consulting<\/a><a class=\"\" href=\"\/staging\/4969\/about\/\">About<\/a><a class=\"\" href=\"\/staging\/4969\/contact\/\">Contact<\/a><a class=\"ati-mobile-cta\" href=\"\/staging\/4969\/contact\/\">Partner With Us<\/a><\/div>\n<\/details>\n<p>      <a class=\"ati-mobile-menu-button\" href=\"#ati-mobile-nav-cp-weekly-challenge\" aria-label=\"Open navigation menu\">&#9776;<\/a><\/p>\n<nav id=\"ati-mobile-nav-cp-weekly-challenge\" class=\"ati-mobile-nav-panel\"><a class=\"\" href=\"\/staging\/4969\/\">Home<\/a><a class=\"\" href=\"\/staging\/4969\/solutions\/\">Solutions<\/a><a class=\"\" href=\"\/staging\/4969\/cp-academy\/\">CP Academy<\/a><a class=\"\" href=\"\/staging\/4969\/it-consulting\/\">IT Consulting<\/a><a class=\"\" href=\"\/staging\/4969\/about\/\">About<\/a><a class=\"\" href=\"\/staging\/4969\/contact\/\">Contact<\/a><a class=\"ati-mobile-cta\" href=\"\/staging\/4969\/contact\/\">Partner With Us<\/a><a class=\"ati-mobile-close\" href=\"#\">Close<\/a><\/nav>\n<nav class=\"ati-nav\"><a class=\"\" href=\"\/staging\/4969\/\">Home<\/a><a class=\"\" href=\"\/staging\/4969\/solutions\/\">Solutions<\/a><a class=\"\" href=\"\/staging\/4969\/cp-academy\/\">CP Academy<\/a><a class=\"\" href=\"\/staging\/4969\/it-consulting\/\">IT Consulting<\/a><a class=\"\" href=\"\/staging\/4969\/about\/\">About<\/a><a class=\"\" href=\"\/staging\/4969\/contact\/\">Contact<\/a><\/nav>\n<p>      <a class=\"ati-header-cta\" href=\"\/staging\/4969\/contact\/\">Partner With Us<\/a><br \/>\n    <\/header>\n<p>  <main><\/p>\n<section class=\"ati-hero\">\n<div>\n<p class=\"ati-label\">CP Weekly Challenge<\/p>\n<h1 aria-label=\"CCC 2026 J5\/S2 - Beams of Light Solution &amp; Analysis\"><span class=\"ati-hero-title-line\"><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:0\">C<\/span><span class=\"ati-letter\" style=\"--i:1\">C<\/span><span class=\"ati-letter\" style=\"--i:2\">C<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:4\">2<\/span><span class=\"ati-letter\" style=\"--i:5\">0<\/span><span class=\"ati-letter\" style=\"--i:6\">2<\/span><span class=\"ati-letter\" style=\"--i:7\">6<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:9\">J<\/span><span class=\"ati-letter\" style=\"--i:10\">5<\/span><span class=\"ati-letter\" style=\"--i:11\">\/<\/span><span class=\"ati-letter\" style=\"--i:12\">S<\/span><span class=\"ati-letter\" style=\"--i:13\">2<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:15\">&#8211;<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:17\">B<\/span><span class=\"ati-letter\" style=\"--i:18\">e<\/span><span class=\"ati-letter\" style=\"--i:19\">a<\/span><span class=\"ati-letter\" style=\"--i:20\">m<\/span><span class=\"ati-letter\" style=\"--i:21\">s<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:23\">o<\/span><span class=\"ati-letter\" style=\"--i:24\">f<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:26\">L<\/span><span class=\"ati-letter\" style=\"--i:27\">i<\/span><span class=\"ati-letter\" style=\"--i:28\">g<\/span><span class=\"ati-letter\" style=\"--i:29\">h<\/span><span class=\"ati-letter\" style=\"--i:30\">t<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:32\">S<\/span><span class=\"ati-letter\" style=\"--i:33\">o<\/span><span class=\"ati-letter\" style=\"--i:34\">l<\/span><span class=\"ati-letter\" style=\"--i:35\">u<\/span><span class=\"ati-letter\" style=\"--i:36\">t<\/span><span class=\"ati-letter\" style=\"--i:37\">i<\/span><span class=\"ati-letter\" style=\"--i:38\">o<\/span><span class=\"ati-letter\" style=\"--i:39\">n<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:41\">&amp;<\/span><\/span><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:43\">A<\/span><span class=\"ati-letter\" style=\"--i:44\">n<\/span><span class=\"ati-letter\" style=\"--i:45\">a<\/span><span class=\"ati-letter\" style=\"--i:46\">l<\/span><span class=\"ati-letter\" style=\"--i:47\">y<\/span><span class=\"ati-letter\" style=\"--i:48\">s<\/span><span class=\"ati-letter\" style=\"--i:49\">i<\/span><span class=\"ati-letter\" style=\"--i:50\">s<\/span><\/span><\/span><\/h1>\n<p>Use interval coverage, a difference array, and prefix sums to answer illumination queries efficiently.<\/p>\n<div class=\"ati-actions\"><a class=\"ati-btn ati-primary\" href=\"\/staging\/4969\/cp-weekly-challenge\/\">Back to Challenges<\/a><\/div>\n<\/div>\n<aside class=\"ati-side\"><strong>Solution Format<\/strong><\/p>\n<p>summary -> concepts -> code -> review<\/p>\n<\/aside>\n<\/section>\n<article class=\"ati-article\">\n      <a class=\"ati-back-link\" href=\"\/staging\/4969\/cp-weekly-challenge\/\">\u2190 Back to CP Weekly Challenge<\/a><\/p>\n<div class=\"ati-article-card\">\n<p>You have parking spots numbered 1 to N. Each light is hung above one spot P and shines from P &#8211; S to P + S, clipped to stay inside 1..N. Then you get Q questions, each asking whether a particular parking spot is lit by at least one light. Since N, L, and Q can each be as large as 500,000, checking every light for every question would be too slow.<\/p>\n<h2>Key Concepts<\/h2>\n<ul>\n<li>Interval coverage<\/li>\n<li>Difference array<\/li>\n<li>Prefix sums<\/li>\n<li>Preprocessing for O(1) queries<\/li>\n<\/ul>\n<h2>Thinking Process<\/h2>\n<p>Each light covers one continuous interval. For a light at position P with spread S, compute left = max(1, P &#8211; S) and right = min(N, P + S). Instead of marking every covered spot, mark only the boundary changes: add 1 at left and subtract 1 just after right. A prefix sum then tells us how many lights cover each parking spot. If the coverage at a queried spot is greater than 0, print Y; otherwise, print N.<\/p>\n<h2>Solution #1: Brute Force<\/h2>\n<p>The most direct idea is to mark every parking spot that each light covers. This is simple and useful for understanding the problem, but it can be too slow when N, L, and Q are large.<\/p>\n<pre><code># CCC 2026 J5\/S2 - Beams of Light\n# Solution #1: Brute Force, Mark every lit spot directly\n\n# Read input\nN = int(input())   # number of parking spots\nL = int(input())   # number of lights\nQ = int(input())   # number of questions\n\n# lit[i] will tell us whether parking spot i is illuminated\n# We use size N + 1 so we can use indices 1 to N directly\nlit = [False] * (N + 1)\n\n# Process each light\nfor _ in range(L):\n    P, S = map(int, input().split())\n\n    # Find the interval this light covers\n    left = max(1, P - S)\n    right = min(N, P + S)\n\n    # Mark every spot in this interval as illuminated\n    for i in range(left, right + 1):\n        lit[i] = True\n\n# Answer each question\nfor _ in range(Q):\n    x = int(input())\n\n    if lit[x]:\n        print(&#x27;Y&#x27;)\n    else:\n        print(&#x27;N&#x27;)<\/code><\/pre>\n<h2>Solution #2: Difference Array<\/h2>\n<p>The optimized solution marks only the start and end boundary changes for each light. After one prefix sum pass, every query can be answered in O(1).<\/p>\n<h2>Python Solution<\/h2>\n<pre><code>import sys\ninput = sys.stdin.readline\n\nN = int(input())\nL = int(input())\nQ = int(input())\n\ndiff = [0] * (N + 2)\n\nfor _ in range(L):\n    P, S = map(int, input().split())\n    left = max(1, P - S)\n    right = min(N, P + S)\n    diff[left] += 1\n    diff[right + 1] -= 1\n\ncovered = [False] * (N + 1)\ncurrent = 0\nfor i in range(1, N + 1):\n    current += diff[i]\n    covered[i] = current &gt; 0\n\nanswers = []\nfor _ in range(Q):\n    x = int(input())\n    answers.append(&#x27;Y&#x27; if covered[x] else &#x27;N&#x27;)\n\nprint(&#x27;\\n&#x27;.join(answers))<\/code><\/pre>\n<h2>C++ Solution<\/h2>\n<pre><code>#include &lt;bits\/stdc++.h&gt;\nusing namespace std;\n\nint main() {\n    ios::sync_with_stdio(false);\n    cin.tie(nullptr);\n\n    int N, L, Q;\n    cin &gt;&gt; N &gt;&gt; L &gt;&gt; Q;\n\n    vector&lt;int&gt; diff(N + 2, 0);\n\n    for (int i = 0; i &lt; L; i++) {\n        int P, S;\n        cin &gt;&gt; P &gt;&gt; S;\n        int left = max(1, P - S);\n        int right = min(N, P + S);\n        diff[left]++;\n        diff[right + 1]--;\n    }\n\n    vector&lt;bool&gt; covered(N + 1, false);\n    int current = 0;\n    for (int i = 1; i &lt;= N; i++) {\n        current += diff[i];\n        covered[i] = current &gt; 0;\n    }\n\n    while (Q--) {\n        int x;\n        cin &gt;&gt; x;\n        cout &lt;&lt; (covered[x] ? &#x27;Y&#x27; : &#x27;N&#x27;) &lt;&lt; &#x27;\\n&#x27;;\n    }\n\n    return 0;\n}<\/code><\/pre>\n<h2>Complexity Analysis<\/h2>\n<p>Building the difference array takes O(L). Computing the prefix sums takes O(N). Answering all queries takes O(Q). The total time complexity is O(N + L + Q), and the memory usage is O(N).<\/p>\n<h2>Common Mistakes<\/h2>\n<ul>\n<li>Marking every spot covered by every light, which can be too slow for large spreads.<\/li>\n<li>Forgetting to clip intervals to the valid range 1..N.<\/li>\n<li>Forgetting the -1 update at right + 1.<\/li>\n<li>Using nested loops over lights and queries.<\/li>\n<\/ul>\n<h2>Learning Outcomes<\/h2>\n<ul>\n<li>Recognize interval coverage problems.<\/li>\n<li>Use a difference array to apply many range updates efficiently.<\/li>\n<li>Use prefix sums to convert boundary changes into actual coverage.<\/li>\n<li>Preprocess once so each query can be answered in O(1).<\/li>\n<\/ul>\n<\/div>\n<\/article>\n<p>  <\/main><\/p>\n<footer class=\"ati-footer\">\n      <a class=\"ati-brand ati-logo\" href=\"\/staging\/4969\/\" aria-label=\"Accel Thinking home\"><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png?ssl=1\" alt=\"Accel Thinking\"><\/a><\/p>\n<nav><a href=\"\/staging\/4969\/\">Home<\/a><a href=\"\/staging\/4969\/solutions\/\">Solutions<\/a><a href=\"\/staging\/4969\/cp-academy\/\">CP Academy<\/a><a href=\"\/staging\/4969\/it-consulting\/\">IT Consulting<\/a><a href=\"\/staging\/4969\/about\/\">About<\/a><a href=\"\/staging\/4969\/contact\/\">Contact<\/a><\/nav>\n<address><a href=\"mailto:info@accelthinking.com\">info@accelthinking.com<\/a><span>Oakville, Ontario, Canada<\/span><\/address>\n<\/footer>\n<\/div>\n<p><script>\n(function(){\n  if (!location.pathname.toLowerCase().includes('\/zh_cn')) return;\n  const map = {\"Home\": \"\u9996\u9875\", \"Solutions\": \"\u89e3\u51b3\u65b9\u6848\", \"CP Academy\": \"CP \u5b66\u9662\", \"Python Assessment\": \"Python \u7f16\u7a0b\u80fd\u529b\u8bc4\u4f30\", \"IT Consulting\": \"IT \u54a8\u8be2\", \"About\": \"\u5173\u4e8e\u6211\u4eec\", \"Contact\": \"\u8054\u7cfb\u6211\u4eec\", \"Accel Thinking\": \"\u52a0\u901f\u5ea6\u601d\u7ef4\", \"Partner With Us\": \"\u6210\u4e3a\u5408\u4f5c\u4f19\u4f34\", \"Close\": \"\u5173\u95ed\", \"Competitive Programming Education & Technology Consulting\": \"\u7ade\u8d5b\u7f16\u7a0b\u6559\u80b2\u4e0e\u6280\u672f\u54a8\u8be2\", \"Technology Education Solutions for Future Innovators\": \"\u9762\u5411\u672a\u6765\u521b\u65b0\u8005\u7684\u79d1\u6280\u6559\u80b2\u89e3\u51b3\u65b9\u6848\", \"for Future Innovators\": \"\u9762\u5411\u672a\u6765\u521b\u65b0\u8005\", \"Curriculum. Instructors. Delivery.\": \"\u8bfe\u7a0b\u4f53\u7cfb\u3002\u6559\u5e08\u56e2\u961f\u3002\u4ea4\u4ed8\u652f\u6301\u3002\", \"Helping educational organizations deliver engaging competitive programming programs and helping businesses make informed technology decisions.\": \"\u5e2e\u52a9\u6559\u80b2\u673a\u6784\u4ea4\u4ed8\u6709\u5438\u5f15\u529b\u7684\u7ade\u8d5b\u7f16\u7a0b\u8bfe\u7a0b\uff0c\u5e76\u5e2e\u52a9\u4f01\u4e1a\u505a\u51fa\u66f4\u660e\u667a\u7684\u6280\u672f\u51b3\u7b56\u3002\", \"Explore Solutions\": \"\u63a2\u7d22\u89e3\u51b3\u65b9\u6848\", \"Explore CP Academy\": \"\u63a2\u7d22 CP \u5b66\u9662\", \"Complete programs with curriculum, instructors, materials, assessments, and delivery support.\": \"\u5b8c\u6574\u8bfe\u7a0b\u65b9\u6848\uff0c\u5305\u542b\u8bfe\u7a0b\u4f53\u7cfb\u3001\u6559\u5e08\u3001\u6750\u6599\u3001\u8bc4\u4f30\u4e0e\u4ea4\u4ed8\u652f\u6301\u3002\", \"Structured competitive programming pathways and CCC preparation for students aged 12-16.\": \"\u9762\u5411 12-16 \u5c81\u5b66\u751f\u7684\u7ed3\u6784\u5316\u7ade\u8d5b\u7f16\u7a0b\u8def\u5f84\u4e0e CCC \u5907\u8003\u3002\", \".NET, React, architecture review, and AI adoption consulting for modern software teams.\": \"\u4e3a\u73b0\u4ee3\u8f6f\u4ef6\u56e2\u961f\u63d0\u4f9b .NET\u3001React\u3001\u67b6\u6784\u8bc4\u5ba1\u4e0e AI \u5e94\u7528\u54a8\u8be2\u3002\", \"Learn More\": \"\u4e86\u89e3\u66f4\u591a\", \"Why Accel Thinking\": \"\u4e3a\u4ec0\u4e48\u9009\u62e9\u52a0\u901f\u5ea6\u601d\u7ef4\", \"Beyond Coding Lessons\": \"\u4e0d\u53ea\u662f\u7f16\u7a0b\u8bfe\", \"Problem Solving Skills\": \"\u95ee\u9898\u89e3\u51b3\u80fd\u529b\", \"Algorithmic Thinking\": \"\u7b97\u6cd5\u601d\u7ef4\", \"Confidence & Communication\": \"\u81ea\u4fe1\u4e0e\u6c9f\u901a\", \"Engineering Mindset\": \"\u5de5\u7a0b\u601d\u7ef4\", \"CP Academy Pathway\": \"CP \u5b66\u9662\u5b66\u4e60\u8def\u5f84\", \"From foundation programming to CCC Senior readiness.\": \"\u4ece\u7f16\u7a0b\u57fa\u7840\u5230 CCC\u9ad8\u7ea7\u5907\u8003\u3002\", \"View Learning Pathway\": \"\u67e5\u770b\u5b66\u4e60\u8def\u5f84\", \"Latest CP Weekly Challenge\": \"\u6700\u65b0 CP \u6bcf\u5468\u6311\u6218\", \"Weekly articles built for search, practice, and long-term authority.\": \"\u9762\u5411\u641c\u7d22\u3001\u7ec3\u4e60\u548c\u957f\u671f\u5185\u5bb9\u79ef\u7d2f\u7684\u6bcf\u5468\u6587\u7ae0\u3002\", \"CCC 2024 J3 - Solution & Analysis\": \"CCC 2024 J3 - \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2024 J3 \u2013 Solution & Analysis\": \"CCC 2024 J3 - \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2023 S1 - Solution & Analysis\": \"CCC 2023 S1 - \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2023 S1 \u2013 Solution & Analysis\": \"CCC 2023 S1 - \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2022 J5 - Solution & Analysis\": \"CCC 2022 J5 - \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2022 J5 \u2013 Solution & Analysis\": \"CCC 2022 J5 - \u89e3\u9898\u4e0e\u5206\u6790\", \"Topics: Simulation | Difficulty: 3\/5\": \"\u4e3b\u9898\uff1a\u6a21\u62df | \u96be\u5ea6\uff1a3\/5\", \"Topics: Ad Hoc | Difficulty: 3\/5\": \"\u4e3b\u9898\uff1a\u4e34\u573a\u601d\u7ef4 | \u96be\u5ea6\uff1a3\/5\", \"Topics: Graph | Difficulty: 4\/5\": \"\u4e3b\u9898\uff1a\u56fe\u8bba | \u96be\u5ea6\uff1a4\/5\", \"View All Challenges\": \"\u67e5\u770b\u6240\u6709\u6311\u6218\", \"Programs that learning centers, schools, and community organizations can launch with confidence.\": \"\u8ba9\u5b66\u4e60\u4e2d\u5fc3\u3001\u5b66\u6821\u548c\u793e\u533a\u7ec4\u7ec7\u80fd\u591f\u653e\u5fc3\u542f\u52a8\u7684\u8bfe\u7a0b\u9879\u76ee\u3002\", \"Delivery Models\": \"\u6388\u8bfe\u6a21\u5f0f\", \"Online, in-person, and hybrid programs designed for flexible operations.\": \"\u652f\u6301\u7ebf\u4e0a\u3001\u7ebf\u4e0b\u548c\u6df7\u5408\u6388\u8bfe\uff0c\u9002\u914d\u7075\u6d3b\u8fd0\u8425\u3002\", \"Partner Audience\": \"\u5408\u4f5c\u5bf9\u8c61\", \"Learning centers, private academies, schools, and community organizations.\": \"\u5b66\u4e60\u4e2d\u5fc3\u3001\u79c1\u7acb\u57f9\u8bad\u673a\u6784\u3001\u5b66\u6821\u548c\u793e\u533a\u7ec4\u7ec7\u3002\", \"Practical technology consulting for modern software teams.\": \"\u9762\u5411\u73b0\u4ee3\u8f6f\u4ef6\u56e2\u961f\u7684\u5b9e\u7528\u6280\u672f\u54a8\u8be2\u3002\", \"Independent guidance for teams that need better architecture decisions, clearer delivery paths, or a grounded AI adoption strategy.\": \"\u4e3a\u9700\u8981\u66f4\u597d\u67b6\u6784\u51b3\u7b56\u3001\u66f4\u6e05\u6670\u4ea4\u4ed8\u8def\u5f84\u6216\u52a1\u5b9e AI \u7b56\u7565\u7684\u56e2\u961f\u63d0\u4f9b\u72ec\u7acb\u6307\u5bfc\u3002\", \"Architecture\": \"\u67b6\u6784\", \"AI Adoption\": \"AI \u5e94\u7528\", \"AI evaluation, integration, automation, and business strategy.\": \"AI \u8bc4\u4f30\u3001\u96c6\u6210\u3001\u81ea\u52a8\u5316\u4e0e\u4e1a\u52a1\u7b56\u7565\u3002\", \"About Accel Thinking\": \"\u5173\u4e8e\u52a0\u901f\u5ea6\u601d\u7ef4\", \"Software Architect\": \"\u8f6f\u4ef6\u67b6\u6784\u5e08\", \"Technology Educator\": \"\u79d1\u6280\u6559\u80b2\u8005\", \"Curriculum Designer\": \"\u8bfe\u7a0b\u8bbe\u8ba1\u8005\", \"20+ Years Experience\": \"20+ \u5e74\u7ecf\u9a8c\", \"We work with learning centers, schools, and organizations to deliver high-quality technology programs.\": \"\u6211\u4eec\u4e0e\u5b66\u4e60\u4e2d\u5fc3\u3001\u5b66\u6821\u548c\u7ec4\u7ec7\u5408\u4f5c\uff0c\u4ea4\u4ed8\u9ad8\u8d28\u91cf\u79d1\u6280\u8bfe\u7a0b\u3002\", \"Let's Work Together\": \"\u4e00\u8d77\u5408\u4f5c\", \"Let\u2019s Work Together\": \"\u4e00\u8d77\u5408\u4f5c\", \"Years of Experience\": \"\u5e74\u7ecf\u9a8c\", \"Students Taught\": \"\u6559\u6388\u5b66\u751f\", \"Partner Organizations\": \"\u5408\u4f5c\u673a\u6784\", \"Weekly Challenges\": \"\u6bcf\u5468\u6311\u6218\", \"Educational Partnerships\": \"\u6559\u80b2\u5408\u4f5c\", \"Technology Education Solutions\": \"\u79d1\u6280\u6559\u80b2\u89e3\u51b3\u65b9\u6848\", \"Complete competitive programming and computer science programs for learning centers, schools, academies, and community organizations.\": \"\u4e3a\u5b66\u4e60\u4e2d\u5fc3\u3001\u5b66\u6821\u3001\u57f9\u8bad\u673a\u6784\u548c\u793e\u533a\u7ec4\u7ec7\u63d0\u4f9b\u5b8c\u6574\u7684\u7ade\u8d5b\u7f16\u7a0b\u4e0e\u8ba1\u7b97\u673a\u79d1\u5b66\u8bfe\u7a0b\u65b9\u6848\u3002\", \"Start a Partnership Inquiry\": \"\u53d1\u8d77\u5408\u4f5c\u54a8\u8be2\", \"Curriculum.\": \"\u8bfe\u7a0b\u4f53\u7cfb\u3002\", \"Instructors.\": \"\u6559\u5e08\u56e2\u961f\u3002\", \"Delivery.\": \"\u4ea4\u4ed8\u652f\u6301\u3002\", \"A partner-ready operating model for launching technology programs.\": \"\u9762\u5411\u5408\u4f5c\u4f19\u4f34\u7684\u79d1\u6280\u8bfe\u7a0b\u843d\u5730\u8fd0\u8425\u6a21\u5f0f\u3002\", \"Included Services\": \"\u670d\u52a1\u5185\u5bb9\", \"Curriculum, qualified instructors, teaching materials, assessments, and delivery support.\": \"\u8bfe\u7a0b\u63d0\u4f9b\uff0c\u8ba4\u8bc1\u6559\u5e08\uff0c\u6559\u6848\uff0c\u6559\u5b66\u8bc4\u4f30\uff0c\u4ea4\u4ed8\u652f\u6301\u3002\", \"Everything needed to deliver a structured, high-quality program.\": \"\u4ea4\u4ed8\u7ed3\u6784\u5316\u3001\u9ad8\u8d28\u91cf\u8bfe\u7a0b\u6240\u9700\u7684\u4e00\u5207\u652f\u6301\u3002\", \"Curriculum\": \"\u8bfe\u7a0b\u4f53\u7cfb\", \"Structured learning plans for Python, competitive programming, and CCC preparation.\": \"\u9762\u5411 Python \u548c C++\u3001\u7ade\u8d5b\u7f16\u7a0b\u548c CCC \u5907\u8003\u7684\u7ed3\u6784\u5316\u5b66\u4e60\u8ba1\u5212\u3002\", \"Structured learning plans for Python and C++, competitive programming, and CCC preparation.\": \"\u9762\u5411 Python \u548c C++\u3001\u7ade\u8d5b\u7f16\u7a0b\u548c CCC \u5907\u8003\u7684\u7ed3\u6784\u5316\u5b66\u4e60\u8ba1\u5212\u3002\", \"Qualified Instructors\": \"\u5408\u683c\u6559\u5e08\", \"Technology educators who understand programming, problem solving, and student confidence.\": \"\u7406\u89e3\u7f16\u7a0b\u3001\u95ee\u9898\u89e3\u51b3\u548c\u5b66\u751f\u4fe1\u5fc3\u57f9\u517b\u7684\u79d1\u6280\u6559\u80b2\u8005\u3002\", \"Teaching Materials\": \"\u6559\u5b66\u6750\u6599\", \"Lesson assets, examples, practice problems, and class-ready delivery support.\": \"\u8bfe\u7a0b\u8d44\u6e90\u3001\u793a\u4f8b\u3001\u7ec3\u4e60\u9898\u4ee5\u53ca\u53ef\u76f4\u63a5\u7528\u4e8e\u8bfe\u5802\u7684\u6559\u5b66\u652f\u6301\u3002\", \"Assessments\": \"\u5b66\u4e60\u8bc4\u4f30\", \"Milestone checks that track understanding, skills, and next-level readiness.\": \"\u901a\u8fc7\u9636\u6bb5\u6027\u68c0\u67e5\u8ddf\u8e2a\u7406\u89e3\u7a0b\u5ea6\u3001\u6280\u80fd\u6210\u957f\u548c\u8fdb\u9636\u51c6\u5907\u5ea6\u3002\", \"Delivery Support\": \"\u4ea4\u4ed8\u652f\u6301\", \"Online, in-person, and hybrid delivery models for different partner operations.\": \"\u652f\u6301\u7ebf\u4e0a\u3001\u7ebf\u4e0b\u548c\u6df7\u5408\u6388\u8bfe\uff0c\u9002\u914d\u4e0d\u540c\u5408\u4f5c\u673a\u6784\u7684\u8fd0\u8425\u65b9\u5f0f\u3002\", \"Program Areas\": \"\u8bfe\u7a0b\u65b9\u5411\", \"Python programming, competitive programming, and CCC preparation.\": \"Python \u548c C++ \u7f16\u7a0b\uff0c\u7ade\u8d5b\u7f16\u7a0b\uff0cCCC\u5907\u8d5b\u3002\", \"Python and C++ programming, competitive programming, and CCC preparation.\": \"Python \u548c C++ \u7f16\u7a0b\uff0c\u7ade\u8d5b\u7f16\u7a0b\uff0cCCC\u5907\u8d5b\u3002\", \"Built around durable skills.\": \"\u56f4\u7ed5\u957f\u671f\u53d7\u7528\u7684\u80fd\u529b\u6784\u5efa\u3002\", \"Programs help students build computational thinking, clear reasoning, and disciplined implementation habits.\": \"\u8bfe\u7a0b\u5e2e\u52a9\u5b66\u751f\u5efa\u7acb\u8ba1\u7b97\u601d\u7ef4\u3001\u6e05\u6670\u63a8\u7406\u80fd\u529b\u548c\u4e25\u8c28\u7684\u5b9e\u73b0\u4e60\u60ef\u3002\", \"Python Programming\": \"Python \u548c C++ \u7f16\u7a0b\", \"Python and C++ Programming\": \"Python \u548c C++ \u7f16\u7a0b\", \"Foundation syntax, control flow, data structures, and problem decomposition.\": \"\u57fa\u7840\u8bed\u6cd5\u3001\u6d41\u7a0b\u63a7\u5236\u3001\u6570\u636e\u7ed3\u6784\u4e0e\u95ee\u9898\u62c6\u89e3\u3002\", \"Competitive Programming\": \"\u7ade\u8d5b\u7f16\u7a0b\", \"Pattern recognition, algorithmic thinking, debugging, and time-aware practice.\": \"\u6a21\u5f0f\u8bc6\u522b\u3001\u7b97\u6cd5\u601d\u7ef4\u3001\u8c03\u8bd5\u80fd\u529b\u548c\u65f6\u95f4\u610f\u8bc6\u8bad\u7ec3\u3002\", \"CCC Preparation\": \"CCC \u5907\u8003\", \"Progressive preparation for CCC Junior and Senior question styles.\": \"\u9488\u5bf9 CCC \u521d\u7ea7\u548c\u9ad8\u7ea7\u9898\u578b\u7684\u5faa\u5e8f\u6e10\u8fdb\u5f0f\u8bad\u7ec3\u3002\", \"Students Aged 12-16\": \"\u9762\u5411 12-16 \u5c81\u5b66\u751f\", \"Competitive Programming & CCC Preparation\": \"\u7ade\u8d5b\u7f16\u7a0b\u4e0e CCC \u5907\u8003\", \"CP Academy helps students grow from foundation programming into confident, structured problem solvers.\": \"CP \u5b66\u9662\u5e2e\u52a9\u5b66\u751f\u4ece\u7f16\u7a0b\u57fa\u7840\u9010\u6b65\u6210\u957f\u4e3a\u81ea\u4fe1\u3001\u7ed3\u6784\u5316\u7684\u95ee\u9898\u89e3\u51b3\u8005\u3002\", \"Ask About CP Academy\": \"\u54a8\u8be2 CP \u5b66\u9662\", \"CP Weekly Challenge\": \"CP \u6bcf\u5468\u6311\u6218\", \"think -> solve -> implement -> review\": \"\u601d\u8003 -> \u6c42\u89e3 -> \u5b9e\u73b0 -> \u590d\u76d8\", \"View Challenges ->\": \"\u67e5\u770b\u6311\u6218 ->\", \"Learning Pathway\": \"\u5b66\u4e60\u8def\u5f84\", \"A clear progression from programming foundations to CCC Senior readiness.\": \"\u4ece\u7f16\u7a0b\u57fa\u7840\u5230 CCC\u9ad8\u7ea7\u5907\u8003\u7684\u6e05\u6670\u8fdb\u9636\u8def\u5f84\u3002\", \"Foundation Programming\": \"\u7f16\u7a0b\u57fa\u7840\", \"FoundationProgramming\": \"\u7f16\u7a0b\u57fa\u7840\", \"\u7f16\u7a0b\u57fa\u7840Programming\": \"\u7f16\u7a0b\u57fa\u7840\", \"Foundation\": \"\u7f16\u7a0b\u57fa\u7840\", \"Core Python and debugging habits.\": \"\u6838\u5fc3 Python \u548c C++ \u7f16\u7a0b\u80fd\u529b\u4e0e\u8c03\u8bd5\u4e60\u60ef\u3002\", \"Core Python and C++ programming and debugging habits.\": \"\u6838\u5fc3 Python \u548c C++ \u7f16\u7a0b\u80fd\u529b\u4e0e\u8c03\u8bd5\u4e60\u60ef\u3002\", \"CCC Junior J1-J2\": \"CCC Junior J1-J2\", \"CCC J30s\": \"CCC \u521d\u7ea730\u5206\", \"CCCJ30s\": \"CCC \u521d\u7ea730\u5206\", \"Careful reading, simulation, and short solutions.\": \"\u8ba4\u771f\u8bfb\u9898\u3001\u6a21\u62df\u8fc7\u7a0b\u548c\u77ed\u4ee3\u7801\u89e3\u6cd5\u3002\", \"CCC Junior J3-J4\": \"CCC Junior J3-J4\", \"CCC J60s\": \"CCC \u521d\u7ea760\u5206\", \"CCCJ60s\": \"CCC \u521d\u7ea760\u5206\", \"Multi-step logic and structured testing.\": \"\u591a\u6b65\u9aa4\u903b\u8f91\u4e0e\u7ed3\u6784\u5316\u6d4b\u8bd5\u3002\", \"CCC Junior J5\": \"CCC Junior J5\", \"CCC J75s\": \"CCC \u521d\u7ea7\u6ee1\u5206\", \"CCCJ75s\": \"CCC \u521d\u7ea7\u6ee1\u5206\", \"Search, recursion, and deeper reasoning.\": \"\u641c\u7d22\u3001\u9012\u5f52\u4e0e\u66f4\u6df1\u5165\u7684\u63a8\u7406\u3002\", \"CCC Senior S1-S4\": \"CCC Senior S1-S4\", \"CCC S45s\": \"CCC \u9ad8\u7ea745\u5206\", \"CCCS45s\": \"CCC \u9ad8\u7ea745\u5206\", \"Algorithmic patterns and complexity analysis.\": \"\u7b97\u6cd5\u6a21\u5f0f\u4e0e\u590d\u6742\u5ea6\u5206\u6790\u3002\", \"Benefits\": \"\u5b66\u4e60\u6536\u83b7\", \"Students build the mindset behind strong technical work.\": \"\u5b66\u751f\u5efa\u7acb\u624e\u5b9e\u6280\u672f\u80fd\u529b\u80cc\u540e\u7684\u601d\u7ef4\u65b9\u5f0f\u3002\", \"Problem Solving\": \"\u95ee\u9898\u89e3\u51b3\", \"Logical Thinking\": \"\u903b\u8f91\u601d\u7ef4\", \"Programming Skills\": \"\u7f16\u7a0b\u80fd\u529b\", \"University Readiness\": \"\u5927\u5b66\u51c6\u5907\", \"Confidence\": \"\u81ea\u4fe1\u8868\u8fbe\", \"Practice & Review\": \"\u7ec3\u4e60\u4e0e\u590d\u76d8\", \"Explore CP Weekly Challenge articles.\": \"\u67e5\u770b CP \u6bcf\u5468\u6311\u6218\u6587\u7ae0\u3002\", \"Weekly CCC-style problems with explanations, implementation notes, and learning outcomes.\": \"\u6bcf\u5468 CCC \u98ce\u683c\u9898\u76ee\uff0c\u5305\u542b\u8bb2\u89e3\u3001\u5b9e\u73b0\u8bf4\u660e\u548c\u5b66\u4e60\u76ee\u6807\u3002\", \"View Challenges\": \"\u67e5\u770b\u6311\u6218\", \"Placement Check\": \"\u80fd\u529b\u8bca\u65ad\", \"Assess your Python readiness before choosing a CP Academy pathway.\": \"\u5728\u9009\u62e9 CP \u5b66\u9662\u5b66\u4e60\u8def\u5f84\u524d\uff0c\u5148\u8bc4\u4f30\u81ea\u5df1\u7684 Python \u7f16\u7a0b\u57fa\u7840\u3002\", \"Start Python Assessment\": \"\u5f00\u59cb Python \u7f16\u7a0b\u80fd\u529b\u8bc4\u4f30\", \"Python readiness for CCC-style learning.\": \"\u9762\u5411 CCC \u5b66\u4e60\u7684 Python \u80fd\u529b\u8bca\u65ad\u3002\", \"Use a short multiple-choice quiz and a coding challenge to understand your current programming level before choosing a class path.\": \"\u901a\u8fc7\u7b80\u77ed\u9009\u62e9\u9898\u548c\u4ee3\u7801\u6311\u6218\uff0c\u4e86\u89e3\u5f53\u524d\u7f16\u7a0b\u6c34\u5e73\uff0c\u518d\u9009\u62e9\u5408\u9002\u7684\u8bfe\u7a0b\u8def\u5f84\u3002\", \"Start the Quiz\": \"\u5f00\u59cb\u6d4b\u8bc4\", \"Placement Assessment\": \"\u5206\u7ea7\u6d4b\u8bc4\", \"Section A\": \"A \u90e8\u5206\", \"Section B\": \"B \u90e8\u5206\", \"Section C\": \"C \u90e8\u5206\", \"Part 1: Multiple-Choice Check\": \"\u7b2c\u4e00\u90e8\u5206\uff1a\u9009\u62e9\u9898\u6d4b\u8bc4\", \"Answer these questions first. They focus on Python basics, control flow, data structures, and algorithmic thinking.\": \"\u5148\u5b8c\u6210\u8fd9\u4e9b\u9009\u62e9\u9898\uff0c\u5185\u5bb9\u8986\u76d6 Python \u57fa\u7840\u3001\u6d41\u7a0b\u63a7\u5236\u3001\u6570\u636e\u7ed3\u6784\u548c\u7b97\u6cd5\u601d\u7ef4\u3002\", \"Check My Score\": \"\u67e5\u770b\u6211\u7684\u5206\u6570\", \"Answer key: 1-B, 2-B, 3-C, 4-A, 5-B, 6-B, 7-B, 8-A.\": \"\u7b54\u6848\uff1a1-B\uff0c2-B\uff0c3-C\uff0c4-A\uff0c5-B\uff0c6-B\uff0c7-B\uff0c8-A\u3002\", \"0-3 correct: Foundation Programming\": \"\u7b54\u5bf9 0-3 \u9898\uff1a\u7f16\u7a0b\u57fa\u7840\", \"4-5 correct: CCC J30s\": \"\u7b54\u5bf9 4-5 \u9898\uff1aCCC \u521d\u7ea730\u5206\", \"6 correct: CCC J60s\": \"\u7b54\u5bf9 6 \u9898\uff1aCCC \u521d\u7ea760\u5206\", \"7 correct: CCC J75s\": \"\u7b54\u5bf9 7 \u9898\uff1aCCC \u521d\u7ea7\u6ee1\u5206\", \"8 correct: CCC S45s readiness\": \"\u7b54\u5bf9 8 \u9898\uff1a\u5177\u5907 CCC \u9ad8\u7ea745\u5206\u5b66\u4e60\u51c6\u5907\u5ea6\", \"Part 2: Coding Challenge\": \"\u7b2c\u4e8c\u90e8\u5206\uff1a\u4ee3\u7801\u6311\u6218\", \"Section B: Coding Fundamentals\": \"B \u90e8\u5206\uff1a\u7f16\u7a0b\u57fa\u7840\u4ee3\u7801\u9898\", \"Section C: CCC Similar Problems\": \"C \u90e8\u5206\uff1aCCC \u76f8\u4f3c\u9898\", \"These problems are reviewed with the rubric below. They measure input handling, core logic, output format, and code quality.\": \"\u8fd9\u4e9b\u9898\u76ee\u4f1a\u6309\u7167\u4e0b\u65b9\u8bc4\u5206\u6807\u51c6\u8bc4\u4f30\uff0c\u91cd\u70b9\u770b\u8f93\u5165\u5904\u7406\u3001\u6838\u5fc3\u903b\u8f91\u3001\u8f93\u51fa\u683c\u5f0f\u548c\u4ee3\u7801\u8d28\u91cf\u3002\", \"Sum of Even Numbers\": \"\u5076\u6570\u6c42\u548c\", \"Input n followed by n integers. Output the sum of even values.\": \"\u8f93\u5165 n\uff0c\u7136\u540e\u8f93\u5165 n \u4e2a\u6574\u6570\uff0c\u8f93\u51fa\u5176\u4e2d\u5076\u6570\u7684\u603b\u548c\u3002\", \"Read n, then n integers. Print the sum of all even numbers. Example: 5 and 10 3 20 7 8 -> 38.\": \"\u8bfb\u5165 n\uff0c\u7136\u540e\u8bfb\u5165 n \u4e2a\u6574\u6570\uff0c\u8f93\u51fa\u6240\u6709\u5076\u6570\u7684\u603b\u548c\u3002\u4f8b\u5982\uff1a5 \u548c 10 3 20 7 8 -> 38\u3002\", \"Write a program that reads an integer n, then reads n integers. Print the sum of all even numbers. Example input: 5 \/ 3 \/ 8 \/ 10 \/ 7 \/ 2. Example output: 20.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u4e2a\u6574\u6570 n\uff0c\u7136\u540e\u8bfb\u5165 n \u4e2a\u6574\u6570\u3002\u8f93\u51fa\u6240\u6709\u5076\u6570\u7684\u603b\u548c\u3002\u793a\u4f8b\u8f93\u5165\uff1a5 \/ 3 \/ 8 \/ 10 \/ 7 \/ 2\u3002\u793a\u4f8b\u8f93\u51fa\uff1a20\u3002\", \"Write a program that reads an integer n, then reads n integers. Print the sum of all even numbers. Write a program that reads an integer n, then reads n integers. Print the sum of all even numbers. Example input: 5 \/ 3 \/ 8 \/ 10 \/ 7 \/ 2. Example output: 20.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u4e2a\u6574\u6570 n\uff0c\u7136\u540e\u8bfb\u5165 n \u4e2a\u6574\u6570\u3002\u8f93\u51fa\u6240\u6709\u5076\u6570\u7684\u603b\u548c\u3002\u8f93\u5165\uff1an\uff0c\u7136\u540e\u8f93\u5165 n \u4e2a\u6574\u6570\u3002\u8f93\u51fa\uff1a\u6240\u6709\u5076\u6570\u7684\u603b\u548c\u3002\u793a\u4f8b\u8f93\u5165\uff1a5 \/ 10 3 20 7 8\u3002\u793a\u4f8b\u8f93\u51fa\uff1a38\u3002\", \"Count Vowels\": \"\u7edf\u8ba1\u5143\u97f3\", \"Implement count_vowels(s).\": \"\u5b9e\u73b0 count_vowels(s)\u3002\", \"Write count_vowels(s). Count a, e, i, o, u in both uppercase and lowercase letters.\": \"\u7f16\u5199 count_vowels(s)\uff0c\u7edf\u8ba1 a\u3001e\u3001i\u3001o\u3001u\uff0c\u5305\u62ec\u5927\u5c0f\u5199\u3002\", \"Write a program that reads one string. Count how many vowels it contains, including a, e, i, o, and u, without caring about uppercase or lowercase letters. Input: one string. Output: the number of vowels. Example input: Hello World. Example output: 3.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u7edf\u8ba1\u5176\u4e2d\u5305\u542b\u591a\u5c11\u4e2a\u5143\u97f3\u5b57\u6bcd\uff0c\u5305\u62ec a\u3001e\u3001i\u3001o\u3001u\uff0c\u4e0d\u533a\u5206\u5927\u5c0f\u5199\u3002\u8f93\u5165\uff1a\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u8f93\u51fa\uff1a\u5143\u97f3\u6570\u91cf\u3002\u793a\u4f8b\u8f93\u5165\uff1aHello World\u3002\u793a\u4f8b\u8f93\u51fa\uff1a3\u3002\", \"Write a function count_vowels(s). The function returns the number of vowels in the string. Vowels are a, e, i, o, u, both uppercase and lowercase. Example: count_vowels(\\\"Hello World\\\"). Output: 3.\": \"\u7f16\u5199\u51fd\u6570 count_vowels(s)\u3002\u8be5\u51fd\u6570\u8fd4\u56de\u5b57\u7b26\u4e32\u4e2d\u7684\u5143\u97f3\u6570\u91cf\u3002\u5143\u97f3\u5305\u62ec a\u3001e\u3001i\u3001o\u3001u\uff0c\u5305\u542b\u5927\u5c0f\u5199\u3002\u793a\u4f8b\uff1acount_vowels(\\\"Hello World\\\")\u3002\u8f93\u51fa\uff1a3\u3002\", \"Write a function count_vowels(s). The function returns the number of vowels in the string. Vowels are a, e, i, o, u, both uppercase and lowercase. Example: count_vowels('Hello World'). Output: 3.\": \"\u7f16\u5199\u51fd\u6570 count_vowels(s)\u3002\u8be5\u51fd\u6570\u8fd4\u56de\u5b57\u7b26\u4e32\u4e2d\u7684\u5143\u97f3\u6570\u91cf\u3002\u5143\u97f3\u5305\u62ec a\u3001e\u3001i\u3001o\u3001u\uff0c\u5305\u542b\u5927\u5c0f\u5199\u3002\u793a\u4f8b\uff1acount_vowels('Hello World')\u3002\u8f93\u51fa\uff1a3\u3002\", \"Maximum Difference\": \"\u6700\u5927\u5dee\u503c\", \"Output max(list) - min(list).\": \"\u8f93\u51fa max(list) - min(list)\u3002\", \"Read a list of integers and print the difference between the largest and smallest value.\": \"\u8bfb\u5165\u4e00\u7ec4\u6574\u6570\uff0c\u8f93\u51fa\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u4e4b\u95f4\u7684\u5dee\u3002\", \"Write a program that reads an integer n, then reads n integers. Print the difference between the largest and smallest value. Input: n, then n integers. Output: largest value minus smallest value. Example input: 5 \/ 6 20 15 7 9. Example output: 13.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u4e2a\u6574\u6570 n\uff0c\u7136\u540e\u8bfb\u5165 n \u4e2a\u6574\u6570\u3002\u8f93\u51fa\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u4e4b\u95f4\u7684\u5dee\u3002\u8f93\u5165\uff1an\uff0c\u7136\u540e\u8f93\u5165 n \u4e2a\u6574\u6570\u3002\u8f93\u51fa\uff1a\u6700\u5927\u503c\u51cf\u6700\u5c0f\u503c\u3002\u793a\u4f8b\u8f93\u5165\uff1a5 \/ 6 20 15 7 9\u3002\u793a\u4f8b\u8f93\u51fa\uff1a13\u3002\", \"Read an integer n, then read n integers into a list. Print the difference between the largest and smallest number. Example input: 6 \/ 10 \/ 3 \/ 8 \/ 20 \/ 15 \/ 7. Example output: 17.\": \"\u8bfb\u5165\u4e00\u4e2a\u6574\u6570 n\uff0c\u7136\u540e\u8bfb\u5165 n \u4e2a\u6574\u6570\u5230\u5217\u8868\u4e2d\u3002\u8f93\u51fa\u6700\u5927\u6570\u548c\u6700\u5c0f\u6570\u4e4b\u95f4\u7684\u5dee\u3002\u793a\u4f8b\u8f93\u5165\uff1a6 \/ 10 \/ 3 \/ 8 \/ 20 \/ 15 \/ 7\u3002\u793a\u4f8b\u8f93\u51fa\uff1a17\u3002\", \"Write a program that reads an integer n, then reads n integers. Print the difference between the largest and smallest value. Write a program that reads an integer n, then reads n integers. Print the difference between the largest and smallest value. Input: n, then n integers. Output: largest value minus smallest value. Example input: 5 \/ 6 20 15 7 9. Example output: 13.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u4e2a\u6574\u6570 n\uff0c\u7136\u540e\u8bfb\u5165 n \u4e2a\u6574\u6570\u3002\u8f93\u51fa\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u4e4b\u95f4\u7684\u5dee\u3002\u8f93\u5165\uff1an\uff0c\u7136\u540e\u8f93\u5165 n \u4e2a\u6574\u6570\u3002\u8f93\u51fa\uff1a\u6700\u5927\u503c\u51cf\u6700\u5c0f\u503c\u3002\u793a\u4f8b\u8f93\u5165\uff1a5 \/ 6 20 15 7 9\u3002\u793a\u4f8b\u8f93\u51fa\uff1a13\u3002\", \"Health Simulation\": \"\u751f\u547d\u503c\u6a21\u62df\", \"Simple Simulation\": \"\u7b80\u5355\u6a21\u62df\", \"Start at 100 HP. hit = -10, heal = +5, miss = 0. Clamp the result to 0..100.\": \"\u521d\u59cb 100 HP\u3002hit = -10\uff0cheal = +5\uff0cmiss = 0\u3002\u7ed3\u679c\u9650\u5236\u5728 0..100\u3002\", \"Start at 100 health. For each event: hit decreases by 10, heal increases by 5, miss changes nothing. Keep health between 0 and 100.\": \"\u521d\u59cb\u751f\u547d\u503c\u4e3a 100\u3002\u6bcf\u4e2a\u4e8b\u4ef6\u4e2d\uff1ahit \u51cf\u5c11 10\uff0cheal \u589e\u52a0 5\uff0cmiss \u4e0d\u53d8\u3002\u751f\u547d\u503c\u4fdd\u6301\u5728 0 \u5230 100 \u4e4b\u95f4\u3002\", \"Write a program that simulates a player's health. Read a starting health value and a sequence of events. A hit subtracts 10, a heal adds 5, and a miss changes nothing. Keep the final health between 0 and 100. Input: starting health and events. Output: final health.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u6a21\u62df\u73a9\u5bb6\u7684\u751f\u547d\u503c\u3002\u8bfb\u5165\u521d\u59cb\u751f\u547d\u503c\u548c\u4e00\u4e32\u4e8b\u4ef6\u3002hit \u51cf\u5c11 10\uff0cheal \u589e\u52a0 5\uff0cmiss \u4e0d\u6539\u53d8\u751f\u547d\u503c\u3002\u6700\u7ec8\u751f\u547d\u503c\u9700\u8981\u4fdd\u6301\u5728 0 \u5230 100 \u4e4b\u95f4\u3002\u8f93\u5165\uff1a\u521d\u59cb\u751f\u547d\u503c\u548c\u4e8b\u4ef6\u3002\u8f93\u51fa\uff1a\u6700\u7ec8\u751f\u547d\u503c\u3002\", \"A player starts with 100 health points. Read an integer n, then read n actions. Each action is hit, heal, or miss. hit decreases health by 10, heal increases health by 5, and miss does not change health. Health cannot go below 0 or above 100. Print the final health. Example input: 5 \/ hit \/ hit \/ heal \/ miss \/ hit. Example output: 75.\": \"\u73a9\u5bb6\u521d\u59cb\u6709 100 \u70b9\u751f\u547d\u503c\u3002\u8bfb\u5165\u4e00\u4e2a\u6574\u6570 n\uff0c\u7136\u540e\u8bfb\u5165 n \u4e2a\u52a8\u4f5c\u3002\u6bcf\u4e2a\u52a8\u4f5c\u662f hit\u3001heal \u6216 miss\u3002hit \u8ba9\u751f\u547d\u503c\u51cf\u5c11 10\uff0cheal \u8ba9\u751f\u547d\u503c\u589e\u52a0 5\uff0cmiss \u4e0d\u6539\u53d8\u751f\u547d\u503c\u3002\u751f\u547d\u503c\u4e0d\u80fd\u4f4e\u4e8e 0\uff0c\u4e5f\u4e0d\u80fd\u9ad8\u4e8e 100\u3002\u8f93\u51fa\u6700\u7ec8\u751f\u547d\u503c\u3002\u793a\u4f8b\u8f93\u5165\uff1a5 \/ hit \/ hit \/ heal \/ miss \/ hit\u3002\u793a\u4f8b\u8f93\u51fa\uff1a75\u3002\", \"Pizza Party\": \"\u62ab\u8428\u6d3e\u5bf9\", \"Pizza Party (J2)\": \"\u62ab\u8428\u6d3e\u5bf9\uff08J2\uff09\", \"Determine whether there are enough slices for all students.\": \"\u5224\u65ad\u62ab\u8428\u662f\u5426\u8db3\u591f\u5206\u7ed9\u6240\u6709\u5b66\u751f\u3002\", \"Given the number of pizzas, slices per pizza, and students, print Enough if every student can get a slice; otherwise print Not enough.\": \"\u7ed9\u5b9a\u62ab\u8428\u6570\u91cf\u3001\u6bcf\u4e2a\u62ab\u8428\u7684\u5207\u7247\u6570\u548c\u5b66\u751f\u4eba\u6570\uff0c\u5982\u679c\u6bcf\u4f4d\u5b66\u751f\u90fd\u80fd\u5206\u5230\u4e00\u7247\u5219\u8f93\u51fa Enough\uff0c\u5426\u5219\u8f93\u51fa Not enough\u3002\", \"Write a program that reads the number of pizzas, the number of slices per pizza, and the number of students. Print Enough if every student can get at least one slice; otherwise print Not enough. Example: 2 pizzas, 6 slices each, 10 students -> Enough.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u62ab\u8428\u6570\u91cf\u3001\u6bcf\u4e2a\u62ab\u8428\u7684\u5207\u7247\u6570\u548c\u5b66\u751f\u4eba\u6570\u3002\u5982\u679c\u6bcf\u4f4d\u5b66\u751f\u81f3\u5c11\u80fd\u5206\u5230\u4e00\u7247\uff0c\u5219\u8f93\u51fa Enough\uff1b\u5426\u5219\u8f93\u51fa Not enough\u3002\u793a\u4f8b\uff1a2 \u4e2a\u62ab\u8428\uff0c\u6bcf\u4e2a 6 \u7247\uff0c10 \u4e2a\u5b66\u751f -> Enough\u3002\", \"A school is running a pizza party. Each small pizza has 6 slices, and each large pizza has 10 slices. Read the number of small pizzas, the number of large pizzas, and the number of students. Each student needs exactly 2 slices. Print Enough if there are enough slices; otherwise print Not enough. Example input: 3 \/ 2 \/ 20. Example output: Not enough.\": \"\u5b66\u6821\u6b63\u5728\u4e3e\u529e\u62ab\u8428\u6d3e\u5bf9\u3002\u6bcf\u4e2a\u5c0f\u62ab\u8428\u6709 6 \u7247\uff0c\u6bcf\u4e2a\u5927\u62ab\u8428\u6709 10 \u7247\u3002\u8bfb\u5165\u5c0f\u62ab\u8428\u6570\u91cf\u3001\u5927\u62ab\u8428\u6570\u91cf\u548c\u5b66\u751f\u4eba\u6570\u3002\u6bcf\u4f4d\u5b66\u751f\u6b63\u597d\u9700\u8981 2 \u7247\u3002\u5982\u679c\u62ab\u8428\u7247\u8db3\u591f\uff0c\u5219\u8f93\u51fa Enough\uff1b\u5426\u5219\u8f93\u51fa Not enough\u3002\u793a\u4f8b\u8f93\u5165\uff1a3 \/ 2 \/ 20\u3002\u793a\u4f8b\u8f93\u51fa\uff1aNot enough\u3002\", \"Balanced Word\": \"\u5e73\u8861\u5355\u8bcd\", \"Balanced Word (J3)\": \"\u5e73\u8861\u5355\u8bcd\uff08J3\uff09\", \"Check whether vowels and consonants are equal.\": \"\u5224\u65ad\u5143\u97f3\u548c\u8f85\u97f3\u6570\u91cf\u662f\u5426\u76f8\u7b49\u3002\", \"A word is balanced if its vowel count equals its consonant count. Only lowercase letters are included.\": \"\u5982\u679c\u4e00\u4e2a\u5355\u8bcd\u4e2d\u7684\u5143\u97f3\u6570\u91cf\u7b49\u4e8e\u8f85\u97f3\u6570\u91cf\uff0c\u5219\u5b83\u662f\u5e73\u8861\u5355\u8bcd\u3002\u53ea\u5305\u542b\u5c0f\u5199\u5b57\u6bcd\u3002\", \"Write a program that reads one lowercase word. Count vowels and consonants. Print Balanced if the two counts are equal; otherwise print Not balanced. Example input: banana. Example output: Balanced.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u4e2a\u5c0f\u5199\u5355\u8bcd\u3002\u7edf\u8ba1\u5143\u97f3\u548c\u8f85\u97f3\u6570\u91cf\u3002\u5982\u679c\u4e24\u8005\u6570\u91cf\u76f8\u7b49\uff0c\u5219\u8f93\u51fa Balanced\uff1b\u5426\u5219\u8f93\u51fa Not balanced\u3002\u793a\u4f8b\u8f93\u5165\uff1abanana\u3002\u793a\u4f8b\u8f93\u51fa\uff1aBalanced\u3002\", \"A word is called balanced if the number of vowels equals the number of consonants. Read one lowercase word. Only letters are included. Print Balanced or Not balanced. Example input: banana. Example output: Balanced. Explanation: vowels = 3, consonants = 3.\": \"\u5982\u679c\u4e00\u4e2a\u5355\u8bcd\u4e2d\u7684\u5143\u97f3\u6570\u91cf\u7b49\u4e8e\u8f85\u97f3\u6570\u91cf\uff0c\u5219\u79f0\u4e3a balanced\u3002\u8bfb\u5165\u4e00\u4e2a\u5c0f\u5199\u5355\u8bcd\uff0c\u53ea\u5305\u542b\u5b57\u6bcd\u3002\u8f93\u51fa Balanced \u6216 Not balanced\u3002\u793a\u4f8b\u8f93\u5165\uff1abanana\u3002\u793a\u4f8b\u8f93\u51fa\uff1aBalanced\u3002\u89e3\u91ca\uff1a\u5143\u97f3 = 3\uff0c\u8f85\u97f3 = 3\u3002\", \"String Compression\": \"\u5b57\u7b26\u4e32\u538b\u7f29\", \"String Compression (J4)\": \"\u5b57\u7b26\u4e32\u538b\u7f29\uff08J4\uff09\", \"Compress aaabbcdddd as a3b2c1d4.\": \"\u5c06 aaabbcdddd \u538b\u7f29\u4e3a a3b2c1d4\u3002\", \"Compress consecutive repeated characters, such as aaabbcdddd -> a3b2c1d4.\": \"\u538b\u7f29\u8fde\u7eed\u91cd\u590d\u5b57\u7b26\uff0c\u4f8b\u5982 aaabbcdddd -> a3b2c1d4\u3002\", \"Write a program that reads one string and compresses consecutive repeated characters. For each group, print the character followed by its count. Example input: aaabbcdddd. Example output: a3b2c1d4.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u5e76\u538b\u7f29\u8fde\u7eed\u91cd\u590d\u5b57\u7b26\u3002\u5bf9\u6bcf\u4e00\u7ec4\u8fde\u7eed\u5b57\u7b26\uff0c\u8f93\u51fa\u8be5\u5b57\u7b26\u548c\u51fa\u73b0\u6b21\u6570\u3002\u793a\u4f8b\u8f93\u5165\uff1aaaabbcdddd\u3002\u793a\u4f8b\u8f93\u51fa\uff1aa3b2c1d4\u3002\", \"Read a string and compress consecutive repeated characters. For each group, print the character followed by its count. Example input: aaabbcdddd. Example output: a3b2c1d4. Another example input: abcd. Another example output: a1b1c1d1.\": \"\u8bfb\u5165\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u5e76\u538b\u7f29\u8fde\u7eed\u91cd\u590d\u5b57\u7b26\u3002\u5bf9\u6bcf\u4e00\u7ec4\u8fde\u7eed\u5b57\u7b26\uff0c\u8f93\u51fa\u8be5\u5b57\u7b26\u548c\u51fa\u73b0\u6b21\u6570\u3002\u793a\u4f8b\u8f93\u5165\uff1aaaabbcdddd\u3002\u793a\u4f8b\u8f93\u51fa\uff1aa3b2c1d4\u3002\u53e6\u4e00\u4e2a\u793a\u4f8b\u8f93\u5165\uff1aabcd\u3002\u53e6\u4e00\u4e2a\u793a\u4f8b\u8f93\u51fa\uff1aa1b1c1d1\u3002\", \"Pair Sum Equals 10\": \"\u4e24\u6570\u548c\u4e3a 10\", \"Pair Sum Equals 10 (J5 readiness)\": \"\u4e24\u6570\u548c\u4e3a 10\uff08J5 \u51c6\u5907\u5ea6\uff09\", \"Count non-overlapping pairs whose sum is 10.\": \"\u7edf\u8ba1\u4e0d\u91cd\u53e0\u4e14\u548c\u4e3a 10 \u7684\u914d\u5bf9\u6570\u91cf\u3002\", \"Count non-overlapping pairs whose values sum to 10. Each number can be used at most once.\": \"\u7edf\u8ba1\u6570\u503c\u548c\u4e3a 10 \u7684\u4e0d\u91cd\u53e0\u914d\u5bf9\uff0c\u6bcf\u4e2a\u6570\u5b57\u6700\u591a\u53ea\u80fd\u4f7f\u7528\u4e00\u6b21\u3002\", \"Write a program that reads a list of numbers. Count how many non-overlapping pairs have a sum of 10. Each number can be used at most once. Example input: 1 9 5 5 7 3. Example output: 3.\": \"\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u5165\u4e00\u7ec4\u6570\u5b57\u3002\u7edf\u8ba1\u6709\u591a\u5c11\u4e2a\u4e0d\u91cd\u53e0\u7684\u914d\u5bf9\u4e4b\u548c\u4e3a 10\uff0c\u6bcf\u4e2a\u6570\u5b57\u6700\u591a\u53ea\u80fd\u4f7f\u7528\u4e00\u6b21\u3002\u793a\u4f8b\u8f93\u5165\uff1a1 9 5 5 7 3\u3002\u793a\u4f8b\u8f93\u51fa\uff1a3\u3002\", \"You are given n numbers. Count how many non-overlapping pairs have a sum equal to 10. Each number can be used only once per pair. Example input: 6 \/ 1 \/ 9 \/ 5 \/ 5 \/ 7 \/ 3. Example output: 3. Pairs: 1 + 9, 5 + 5, 7 + 3.\": \"\u7ed9\u5b9a n \u4e2a\u6570\u5b57\u3002\u7edf\u8ba1\u6709\u591a\u5c11\u4e2a\u4e0d\u91cd\u53e0\u7684\u914d\u5bf9\u4e4b\u548c\u7b49\u4e8e 10\u3002\u6bcf\u4e2a\u6570\u5b57\u5728\u914d\u5bf9\u4e2d\u53ea\u80fd\u4f7f\u7528\u4e00\u6b21\u3002\u793a\u4f8b\u8f93\u5165\uff1a6 \/ 1 \/ 9 \/ 5 \/ 5 \/ 7 \/ 3\u3002\u793a\u4f8b\u8f93\u51fa\uff1a3\u3002\u914d\u5bf9\uff1a1 + 9\uff0c5 + 5\uff0c7 + 3\u3002\", \"Coding Rubric\": \"\u4ee3\u7801\u9898\u8bc4\u5206\u6807\u51c6\", \"Input Handling: 20%\": \"\u8f93\u5165\u5904\u7406\uff1a20%\", \"Core Logic: 50%\": \"\u6838\u5fc3\u903b\u8f91\uff1a50%\", \"Output Format: 20%\": \"\u8f93\u51fa\u683c\u5f0f\uff1a20%\", \"Code Quality: 10%\": \"\u4ee3\u7801\u8d28\u91cf\uff1a10%\", \"Complete the embedded OneCompiler challenge to test implementation ability in a realistic coding environment.\": \"\u5b8c\u6210\u5d4c\u5165\u7684 OneCompiler \u6311\u6218\uff0c\u5728\u771f\u5b9e\u4ee3\u7801\u73af\u5883\u4e2d\u6d4b\u8bd5\u5b9e\u73b0\u80fd\u529b\u3002\", \"Use the embedded Python editor below to solve Section B and Section C problems. You can write and run code directly in the browser.\": \"\u4f7f\u7528\u4e0b\u65b9\u5d4c\u5165\u7684 Python \u7f16\u8f91\u5668\u5b8c\u6210 B \u90e8\u5206\u548c C \u90e8\u5206\u9898\u76ee\u3002\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u7f16\u5199\u5e76\u8fd0\u884c\u4ee3\u7801\u3002\", \"Online Coding\": \"\u5728\u7ebf\u7f16\u7a0b\", \"How to read your result\": \"\u5982\u4f55\u7406\u89e3\u7ed3\u679c\", \"0-40: Foundation Programming\": \"0-40\uff1a\u7f16\u7a0b\u57fa\u7840\", \"41-60: CCC J30s\": \"41-60\uff1aCCC \u521d\u7ea730\u5206\", \"41-60: CCC \u521d\u7ea730\u5206\": \"41-60\uff1aCCC \u521d\u7ea730\u5206\", \"61-75: CCC J60s\": \"61-75\uff1aCCC \u521d\u7ea760\u5206\", \"61-75: CCC \u521d\u7ea760\u5206\": \"61-75\uff1aCCC \u521d\u7ea760\u5206\", \"76-90: CCC J75s\": \"76-90\uff1aCCC \u521d\u7ea7\u6ee1\u5206\", \"76-90: CCC \u521d\u7ea7\u6ee1\u5206\": \"76-90\uff1aCCC \u521d\u7ea7\u6ee1\u5206\", \"91+: CCC S45s readiness\": \"91+\uff1a\u5177\u5907 CCC \u9ad8\u7ea745\u5206\u5b66\u4e60\u51c6\u5907\u5ea6\", \"91+: CCC \u9ad8\u7ea745\u5206 readiness\": \"91+\uff1a\u5177\u5907 CCC \u9ad8\u7ea745\u5206\u5b66\u4e60\u51c6\u5907\u5ea6\", \"0-30: Beginner Python\": \"0-30\uff1aPython \u5165\u95e8\", \"31-50: Python Foundations\": \"31-50\uff1aPython \u57fa\u7840\", \"51-70: CCC Junior J1-J2 Ready\": \"51-70\uff1a\u9002\u5408 CCC \u521d\u7ea7 J1-J2\", \"71-85: CCC Junior J3-J4 Ready\": \"71-85\uff1a\u9002\u5408 CCC \u521d\u7ea7 J3-J4\", \"86-100: CCC Junior J5 Ready \/ Advanced\": \"86-100\uff1a\u9002\u5408 CCC \u521d\u7ea7 J5 \/ \u8fdb\u9636\u5b66\u4e60\", \"Check Section A Score\": \"\u67e5\u770b A \u90e8\u5206\u5206\u6570\", \"Book a Placement Consultation\": \"\u9884\u7ea6\u5206\u7ea7\u54a8\u8be2\", \"Multiple choice\": \"\u9009\u62e9\u9898\", \"+ coding task\": \"+ \u4ee3\u7801\u9898\", \"Get a practical signal before choosing a learning path.\": \"\u5728\u9009\u62e9\u5b66\u4e60\u8def\u5f84\u524d\uff0c\u83b7\u5f97\u4e00\u4e2a\u5b9e\u7528\u7684\u80fd\u529b\u53c2\u8003\u3002\", \"Implementation\": \"\u4ee3\u7801\u5b9e\u73b0\", \"Placement Guide\": \"\u5206\u7ea7\u5efa\u8bae\", \"What index does the first item in a Python list have?\": \"Python \u5217\u8868\u4e2d\u7b2c\u4e00\u4e2a\u5143\u7d20\u7684\u7d22\u5f15\u662f\u591a\u5c11\uff1f\", \"What values are produced by range(3)?\": \"range(3) \u4f1a\u4ea7\u751f\u54ea\u4e9b\u503c\uff1f\", \"Which tool is most appropriate for repeating an action a known number of times?\": \"\u5f53\u9700\u8981\u91cd\u590d\u6267\u884c\u5df2\u77e5\u6b21\u6570\u7684\u64cd\u4f5c\u65f6\uff0c\u6700\u5408\u9002\u7684\u5de5\u5177\u662f\u4ec0\u4e48\uff1f\", \"What does n % 2 == 0 usually test?\": \"n % 2 == 0 \u901a\u5e38\u7528\u4e8e\u5224\u65ad\u4ec0\u4e48\uff1f\", \"Which data structure stores ordered, mutable values?\": \"\u54ea\u79cd\u6570\u636e\u7ed3\u6784\u53ef\u4ee5\u5b58\u50a8\u6709\u5e8f\u4e14\u53ef\u4fee\u6539\u7684\u6570\u636e\uff1f\", \"If you scan a list once from left to right, what is the usual time complexity?\": \"\u5982\u679c\u4ece\u5de6\u5230\u53f3\u626b\u63cf\u4e00\u4e2a\u5217\u8868\u4e00\u6b21\uff0c\u901a\u5e38\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u662f\u591a\u5c11\uff1f\", \"For s = 'abc', what is s[1]?\": \"\u5bf9\u4e8e s = 'abc'\uff0cs[1] \u662f\u4ec0\u4e48\uff1f\", \"Which structure is usually best for counting frequencies?\": \"\u7edf\u8ba1\u51fa\u73b0\u9891\u7387\u65f6\u901a\u5e38\u6700\u9002\u5408\u4f7f\u7528\u54ea\u79cd\u7ed3\u6784\uff1f\", \"A dictionary\": \"\u5b57\u5178\", \"A list\": \"\u5217\u8868\", \"A function\": \"\u51fd\u6570\", \"An if statement\": \"if \u8bed\u53e5\", \"A while loop only\": \"\u53ea\u80fd\u4f7f\u7528 while \u5faa\u73af\", \"A for loop\": \"for \u5faa\u73af\", \"Whether n is even\": \"n \u662f\u5426\u4e3a\u5076\u6570\", \"Whether n is negative\": \"n \u662f\u5426\u4e3a\u8d1f\u6570\", \"Whether n is a string\": \"n \u662f\u5426\u4e3a\u5b57\u7b26\u4e32\", \"Modern Software Teams\": \"\u9762\u5411\u73b0\u4ee3\u8f6f\u4ef6\u56e2\u961f\", \"Practical Technology Consulting\": \"\u5b9e\u7528\u578b\u6280\u672f\u54a8\u8be2\", \"Independent guidance for software architecture, product delivery, and AI adoption decisions.\": \"\u4e3a\u8f6f\u4ef6\u67b6\u6784\u3001\u4ea7\u54c1\u4ea4\u4ed8\u548c AI \u91c7\u7528\u51b3\u7b56\u63d0\u4f9b\u72ec\u7acb\u5efa\u8bae\u3002\", \"Discuss a Project\": \"\u8ba8\u8bba\u9879\u76ee\", \"20+ years\": \"20+ \u5e74\", \"Software engineering, architecture, teaching, and advisory experience.\": \"\u8f6f\u4ef6\u5de5\u7a0b\u3001\u67b6\u6784\u3001\u6559\u5b66\u4e0e\u54a8\u8be2\u7ecf\u9a8c\u3002\", \"Consulting Services\": \"\u54a8\u8be2\u670d\u52a1\", \"Focused guidance for technical decisions that matter.\": \"\u56f4\u7ed5\u5173\u952e\u6280\u672f\u51b3\u7b56\u63d0\u4f9b\u805a\u7126\u3001\u52a1\u5b9e\u7684\u6307\u5bfc\u3002\", \".NET Solution Consulting\": \".NET \u89e3\u51b3\u65b9\u6848\u54a8\u8be2\", \"ASP.NET Core, Web API, microservices, Azure, and enterprise systems.\": \"ASP.NET Core\u3001Web API\u3001\u5fae\u670d\u52a1\u3001Azure \u4e0e\u4f01\u4e1a\u7cfb\u7edf\u3002\", \"ASP.NET Core, Web API, microservices, Azure, enterprise systems.\": \"ASP.NET Core\u3001Web API\u3001\u5fae\u670d\u52a1\u3001Azure\u3001\u4f01\u4e1a\u7cfb\u7edf\u3002\", \"React Solution Consulting\": \"React \u89e3\u51b3\u65b9\u6848\u54a8\u8be2\", \"React, TypeScript, state management, performance optimization, and front-end architecture.\": \"React\u3001TypeScript\u3001\u72b6\u6001\u7ba1\u7406\u3001\u6027\u80fd\u4f18\u5316\u4e0e\u524d\u7aef\u67b6\u6784\u3002\", \"React, TypeScript, state management, performance, front-end architecture.\": \"React\u3001TypeScript\u3001\u72b6\u6001\u7ba1\u7406\u3001\u6027\u80fd\u4e0e\u524d\u7aef\u67b6\u6784\u3002\", \"Software Architecture Review\": \"\u8f6f\u4ef6\u67b6\u6784\u8bc4\u5ba1\", \"Scalability, maintainability, system design, and technical risk assessment.\": \"\u53ef\u6269\u5c55\u6027\u3001\u53ef\u7ef4\u62a4\u6027\u3001\u7cfb\u7edf\u8bbe\u8ba1\u4e0e\u6280\u672f\u98ce\u9669\u8bc4\u4f30\u3002\", \"AI Adoption Consulting\": \"AI \u5e94\u7528\u54a8\u8be2\", \"AI evaluation, integration, business process automation, and AI strategy.\": \"AI \u8bc4\u4f30\u3001\u96c6\u6210\u3001\u4e1a\u52a1\u6d41\u7a0b\u81ea\u52a8\u5316\u4e0e AI \u7b56\u7565\u3002\", \"Technical Project Advisory\": \"\u6280\u672f\u9879\u76ee\u987e\u95ee\", \"Independent technology guidance for small businesses, startups, and technology teams.\": \"\u4e3a\u5c0f\u578b\u4f01\u4e1a\u3001\u521b\u4e1a\u56e2\u961f\u548c\u6280\u672f\u56e2\u961f\u63d0\u4f9b\u72ec\u7acb\u6280\u672f\u5efa\u8bae\u3002\", \"How Engagements Work\": \"\u5408\u4f5c\u65b9\u5f0f\", \"Clear, practical, and implementation-aware.\": \"\u6e05\u6670\u3001\u52a1\u5b9e\uff0c\u5e76\u5173\u6ce8\u5b9e\u9645\u843d\u5730\u3002\", \"Assess\": \"\u8bc4\u4f30\", \"Understand product goals, current architecture, risks, and constraints.\": \"\u7406\u89e3\u4ea7\u54c1\u76ee\u6807\u3001\u5f53\u524d\u67b6\u6784\u3001\u98ce\u9669\u4e0e\u7ea6\u675f\u3002\", \"Recommend\": \"\u5efa\u8bae\", \"Prioritize decisions with clear tradeoffs and implementation paths.\": \"\u660e\u786e\u53d6\u820d\u4e0e\u5b9e\u65bd\u8def\u5f84\uff0c\u5e2e\u52a9\u786e\u5b9a\u51b3\u7b56\u4f18\u5148\u7ea7\u3002\", \"Support\": \"\u652f\u6301\", \"Guide teams through delivery, review, and adoption.\": \"\u652f\u6301\u56e2\u961f\u5b8c\u6210\u4ea4\u4ed8\u3001\u8bc4\u5ba1\u4e0e\u6280\u672f\u91c7\u7528\u3002\", \"Founded in 2018\": \"\u521b\u7acb\u4e8e 2018 \u5e74\", \"Learn to Think, Build, and Lead.\": \"\u5b66\u4f1a\u601d\u8003\u3001\u6784\u5efa\u4e0e\u5f15\u9886\u3002\", \"LearntoThink,Build,andLead.\": \"\u5b66\u4f1a\u601d\u8003\u3001\u6784\u5efa\u4e0e\u5f15\u9886\u3002\", \"Learn to Think,\": \"\u5b66\u4f1a\u601d\u8003\uff0c\", \"Build,\": \"\u6784\u5efa\uff0c\", \"and Lead.\": \"\u5e76\u5f15\u9886\u3002\", \"Technology education and practical engineering expertise.\": \"\u79d1\u6280\u6559\u80b2\u4e0e\u5b9e\u7528\u5de5\u7a0b\u7ecf\u9a8c\u3002\", \"Accel Thinking empowers organizations and learners through technology education and practical engineering expertise.\": \"\u52a0\u901f\u5ea6\u601d\u7ef4\u901a\u8fc7\u79d1\u6280\u6559\u80b2\u548c\u5b9e\u7528\u5de5\u7a0b\u7ecf\u9a8c\u8d4b\u80fd\u7ec4\u7ec7\u4e0e\u5b66\u4e60\u8005\u3002\", \"Founded in 2018, Accel Thinking empowers organizations and learners through technology education and practical engineering expertise.\": \"\u52a0\u901f\u5ea6\u601d\u7ef4\u521b\u7acb\u4e8e 2018 \u5e74\uff0c\u901a\u8fc7\u79d1\u6280\u6559\u80b2\u548c\u5b9e\u7528\u5de5\u7a0b\u7ecf\u9a8c\u8d4b\u80fd\u7ec4\u7ec7\u4e0e\u5b66\u4e60\u8005\u3002\", \"Company Philosophy\": \"\u516c\u53f8\u7406\u5ff5\", \"We do not simply teach programming.\": \"\u6211\u4eec\u4e0d\u53ea\u662f\u6559\u7f16\u7a0b\u3002\", \"We help students develop problem-solving skills, computational thinking, and engineering mindsets that prepare them for future success.\": \"\u6211\u4eec\u5e2e\u52a9\u5b66\u751f\u53d1\u5c55\u95ee\u9898\u89e3\u51b3\u80fd\u529b\u3001\u8ba1\u7b97\u601d\u7ef4\u548c\u5de5\u7a0b\u5316\u601d\u7ef4\uff0c\u4e3a\u672a\u6765\u6210\u529f\u505a\u597d\u51c6\u5907\u3002\", \"Mission\": \"\u4f7f\u547d\", \"Empower organizations and learners through technology education and practical engineering expertise.\": \"\u901a\u8fc7\u79d1\u6280\u6559\u80b2\u548c\u5b9e\u7528\u5de5\u7a0b\u7ecf\u9a8c\u8d4b\u80fd\u7ec4\u7ec7\u4e0e\u5b66\u4e60\u8005\u3002\", \"Vision\": \"\u613f\u666f\", \"Become a trusted technology education and consulting partner.\": \"\u6210\u4e3a\u503c\u5f97\u4fe1\u8d56\u7684\u79d1\u6280\u6559\u80b2\u4e0e\u6280\u672f\u54a8\u8be2\u4f19\u4f34\u3002\", \"Founder Profile\": \"\u521b\u59cb\u4eba\u7b80\u4ecb\", \"Software Architect, Technology Educator, Curriculum Designer, 20+ years of software engineering experience.\": \"\u8f6f\u4ef6\u67b6\u6784\u5e08\u3001\u79d1\u6280\u6559\u80b2\u8005\u3001\u8bfe\u7a0b\u8bbe\u8ba1\u8005\uff0c\u62e5\u6709 20+ \u5e74\u8f6f\u4ef6\u5de5\u7a0b\u7ecf\u9a8c\u3002\", \"Tell us what you want to build, teach, or improve.\": \"\u544a\u8bc9\u6211\u4eec\u4f60\u60f3\u6784\u5efa\u3001\u5f00\u8bbe\u6216\u6539\u8fdb\u4ec0\u4e48\u3002\", \"Use this page for educational partnership inquiries, CP Academy questions, technology consulting, or general messages.\": \"\u4f60\u53ef\u4ee5\u901a\u8fc7\u672c\u9875\u9762\u54a8\u8be2\u6559\u80b2\u5408\u4f5c\u3001CP \u5b66\u9662\u3001\u6280\u672f\u54a8\u8be2\u6216\u4e00\u822c\u95ee\u9898\u3002\", \"Email info@accelthinking.com\": \"\u53d1\u9001\u90ae\u4ef6\u81f3 info@accelthinking.com\", \"Oakville, Ontario, Canada\": \"\u52a0\u62ff\u5927\u5b89\u5927\u7565\u7701\u5965\u514b\u7ef4\u5c14\", \"First\": \"\u59d3\", \"Last\": \"\u540d\", \"\u524d\u4e00\u9875\": \"\u59d3\", \"\u540e\u4e00\u9875\": \"\u540d\", \"Name\": \"\u59d3\u540d\", \"Email *\": \"\u7535\u5b50\u90ae\u7bb1 *\", \"Comment or Message\": \"\u7559\u8a00\", \"Contact Purpose\": \"\u8054\u7cfb\u76ee\u7684\", \"Submit\": \"\u63d0\u4ea4\", \"Inquiry Types\": \"\u54a8\u8be2\u7c7b\u578b\", \"Route each conversation to the right business goal.\": \"\u8ba9\u6bcf\u4e00\u6b21\u6c9f\u901a\u90fd\u5bf9\u5e94\u5230\u6e05\u6670\u7684\u4e1a\u52a1\u76ee\u6807\u3002\", \"Educational Partnership\": \"\u6559\u80b2\u5408\u4f5c\", \"Programs for learning centers, schools, academies, and community organizations.\": \"\u9762\u5411\u5b66\u4e60\u4e2d\u5fc3\u3001\u5b66\u6821\u3001\u57f9\u8bad\u673a\u6784\u548c\u793e\u533a\u7ec4\u7ec7\u7684\u8bfe\u7a0b\u9879\u76ee\u3002\", \"Competitive programming and CCC preparation for students aged 12-16.\": \"\u9762\u5411 12-16 \u5c81\u5b66\u751f\u7684\u7ade\u8d5b\u7f16\u7a0b\u4e0e CCC \u5907\u8003\u3002\", \"Technology Consulting\": \"\u6280\u672f\u54a8\u8be2\", \".NET, React, architecture review, AI adoption, and project advisory.\": \".NET\u3001React\u3001\u67b6\u6784\u8bc4\u5ba1\u3001AI \u5e94\u7528\u4e0e\u9879\u76ee\u987e\u95ee\u670d\u52a1\u3002\", \"Blog Category\": \"\u535a\u5ba2\u5206\u7c7b\", \"Weekly competitive programming posts for CCC practice, problem solving, and student learning outcomes.\": \"\u6bcf\u5468\u53d1\u5e03\u7ade\u8d5b\u7f16\u7a0b\u6587\u7ae0\uff0c\u652f\u6301 CCC \u7ec3\u4e60\u3001\u95ee\u9898\u89e3\u51b3\u4e0e\u5b66\u751f\u5b66\u4e60\u6210\u679c\u3002\", \"Latest Articles\": \"\u6700\u65b0\u6587\u7ae0\", \"CCC practice articles with structured explanations and implementation notes.\": \"\u5305\u542b\u7ed3\u6784\u5316\u8bb2\u89e3\u548c\u5b9e\u73b0\u8bf4\u660e\u7684 CCC \u7ec3\u4e60\u6587\u7ae0\u3002\", \"Read More ->\": \"\u9605\u8bfb\u5168\u6587 ->\", \"Back to Challenges\": \"\u8fd4\u56de\u6311\u6218\u5217\u8868\", \"Solution Format\": \"\u89e3\u9898\u7ed3\u6784\", \"summary -> concepts -> code -> review\": \"\u6982\u8ff0 -> \u6982\u5ff5 -> \u4ee3\u7801 -> \u590d\u76d8\", \"\u2190 Back to CP Weekly Challenge\": \"\u2190 \u8fd4\u56de CP \u6bcf\u5468\u6311\u6218\", \"CCC 2026 J5\/S2 - Beams of Light Solution & Analysis\": \"CCC 2026 J5\/S2 - Beams of Light \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2026 J5\/S2 \u2013 Beams of Light Solution & Analysis\": \"CCC 2026 J5\/S2 - Beams of Light \u89e3\u9898\u4e0e\u5206\u6790\", \"Use interval coverage, a difference array, and prefix sums to answer illumination queries efficiently.\": \"\u4f7f\u7528\u533a\u95f4\u8986\u76d6\u3001\u5dee\u5206\u6570\u7ec4\u548c\u524d\u7f00\u548c\uff0c\u9ad8\u6548\u56de\u7b54\u505c\u8f66\u4f4d\u662f\u5426\u88ab\u7167\u4eae\u7684\u67e5\u8be2\u3002\", \"You have parking spots numbered 1 to N. Each light is hung above one spot P and shines from P - S to P + S, clipped to stay inside 1..N. Then you get Q questions, each asking whether a particular parking spot is lit by at least one light. Since N, L, and Q can each be as large as 500,000, checking every light for every question would be too slow.\": \"\u505c\u8f66\u4f4d\u7f16\u53f7\u4e3a 1 \u5230 N\u3002\u6bcf\u76cf\u706f\u6302\u5728\u4f4d\u7f6e P \u4e0a\u65b9\uff0c\u7167\u4eae\u4ece P - S \u5230 P + S \u7684\u8303\u56f4\uff0c\u5e76\u88ab\u9650\u5236\u5728 1..N \u5185\u3002\u63a5\u4e0b\u6765\u6709 Q \u4e2a\u95ee\u9898\uff0c\u6bcf\u4e2a\u95ee\u9898\u8be2\u95ee\u67d0\u4e2a\u505c\u8f66\u4f4d\u662f\u5426\u81f3\u5c11\u88ab\u4e00\u76cf\u706f\u7167\u4eae\u3002\u7531\u4e8e N\u3001L \u548c Q \u90fd\u53ef\u80fd\u8fbe\u5230 500,000\uff0c\u5982\u679c\u5bf9\u6bcf\u4e2a\u67e5\u8be2\u90fd\u68c0\u67e5\u6bcf\u4e00\u76cf\u706f\uff0c\u4f1a\u975e\u5e38\u6162\u3002\", \"Key Concepts\": \"\u6838\u5fc3\u6982\u5ff5\", \"Interval coverage\": \"\u533a\u95f4\u8986\u76d6\", \"Difference array\": \"\u5dee\u5206\u6570\u7ec4\", \"Prefix sums\": \"\u524d\u7f00\u548c\", \"Preprocessing for O(1) queries\": \"\u9884\u5904\u7406\u540e O(1) \u56de\u7b54\u67e5\u8be2\", \"Thinking Process\": \"\u601d\u8003\u8fc7\u7a0b\", \"Each light covers one continuous interval. For a light at position P with spread S, compute left = max(1, P - S) and right = min(N, P + S). Instead of marking every covered spot, mark only the boundary changes: add 1 at left and subtract 1 just after right. A prefix sum then tells us how many lights cover each parking spot. If the coverage at a queried spot is greater than 0, print Y; otherwise, print N.\": \"\u6bcf\u76cf\u706f\u8986\u76d6\u4e00\u4e2a\u8fde\u7eed\u533a\u95f4\u3002\u5bf9\u4e8e\u4f4d\u7f6e\u4e3a P\u3001\u6269\u6563\u8303\u56f4\u4e3a S \u7684\u706f\uff0c\u8ba1\u7b97 left = max(1, P - S)\uff0cright = min(N, P + S)\u3002\u4e0d\u8981\u9010\u4e2a\u6807\u8bb0\u6240\u6709\u88ab\u7167\u4eae\u7684\u4f4d\u7f6e\uff0c\u800c\u53ea\u8bb0\u5f55\u8fb9\u754c\u53d8\u5316\uff1a\u5728 left \u5904\u52a0 1\uff0c\u5728 right \u4e4b\u540e\u51cf 1\u3002\u4e4b\u540e\u901a\u8fc7\u524d\u7f00\u548c\u5373\u53ef\u77e5\u9053\u6bcf\u4e2a\u505c\u8f66\u4f4d\u88ab\u591a\u5c11\u76cf\u706f\u8986\u76d6\u3002\u5982\u679c\u67e5\u8be2\u4f4d\u7f6e\u7684\u8986\u76d6\u6570\u5927\u4e8e 0\uff0c\u8f93\u51fa Y\uff1b\u5426\u5219\u8f93\u51fa N\u3002\", \"Each light covers one continuous interval. For a light at position P with spread S, compute left = max(1, P \u2013 S) and right = min(N, P + S). Instead of marking every covered spot, mark only the boundary changes: add 1 at left and subtract 1 just after right. A prefix sum then tells us how many lights cover each parking spot. If the coverage at a queried spot is greater than 0, print Y; otherwise, print N.\": \"\u6bcf\u76cf\u706f\u8986\u76d6\u4e00\u4e2a\u8fde\u7eed\u533a\u95f4\u3002\u5bf9\u4e8e\u4f4d\u7f6e\u4e3a P\u3001\u6269\u6563\u8303\u56f4\u4e3a S \u7684\u706f\uff0c\u8ba1\u7b97 left = max(1, P - S)\uff0cright = min(N, P + S)\u3002\u4e0d\u8981\u9010\u4e2a\u6807\u8bb0\u6240\u6709\u88ab\u7167\u4eae\u7684\u4f4d\u7f6e\uff0c\u800c\u53ea\u8bb0\u5f55\u8fb9\u754c\u53d8\u5316\uff1a\u5728 left \u5904\u52a0 1\uff0c\u5728 right \u4e4b\u540e\u51cf 1\u3002\u4e4b\u540e\u901a\u8fc7\u524d\u7f00\u548c\u5373\u53ef\u77e5\u9053\u6bcf\u4e2a\u505c\u8f66\u4f4d\u88ab\u591a\u5c11\u76cf\u706f\u8986\u76d6\u3002\u5982\u679c\u67e5\u8be2\u4f4d\u7f6e\u7684\u8986\u76d6\u6570\u5927\u4e8e 0\uff0c\u8f93\u51fa Y\uff1b\u5426\u5219\u8f93\u51fa N\u3002\", \"Solution #1: Brute Force\": \"\u89e3\u6cd5\u4e00\uff1a\u66b4\u529b\u6807\u8bb0\", \"The most direct idea is to mark every parking spot that each light covers. This is simple and useful for understanding the problem, but it can be too slow when N, L, and Q are large.\": \"\u6700\u76f4\u63a5\u7684\u60f3\u6cd5\u662f\u628a\u6bcf\u76cf\u706f\u8986\u76d6\u7684\u6240\u6709\u505c\u8f66\u4f4d\u9010\u4e2a\u6807\u8bb0\u51fa\u6765\u3002\u8fd9\u4e2a\u65b9\u6cd5\u7b80\u5355\uff0c\u4e5f\u6709\u52a9\u4e8e\u7406\u89e3\u9898\u610f\uff0c\u4f46\u5f53 N\u3001L \u548c Q \u5f88\u5927\u65f6\u4f1a\u592a\u6162\u3002\", \"Solution #2: Difference Array\": \"\u89e3\u6cd5\u4e8c\uff1a\u5dee\u5206\u6570\u7ec4\", \"The optimized solution marks only the start and end boundary changes for each light. After one prefix sum pass, every query can be answered in O(1).\": \"\u4f18\u5316\u65b9\u6cd5\u53ea\u8bb0\u5f55\u6bcf\u76cf\u706f\u8986\u76d6\u533a\u95f4\u7684\u8d77\u70b9\u548c\u7ec8\u70b9\u8fb9\u754c\u53d8\u5316\u3002\u5b8c\u6210\u4e00\u6b21\u524d\u7f00\u548c\u540e\uff0c\u6bcf\u4e2a\u67e5\u8be2\u90fd\u53ef\u4ee5 O(1) \u56de\u7b54\u3002\", \"Python Solution\": \"Python \u89e3\u6cd5\", \"C++ Solution\": \"C++ \u89e3\u6cd5\", \"Complexity Analysis\": \"\u590d\u6742\u5ea6\u5206\u6790\", \"Building the difference array takes O(L). Computing the prefix sums takes O(N). Answering all queries takes O(Q). The total time complexity is O(N + L + Q), and the memory usage is O(N).\": \"\u6784\u5efa\u5dee\u5206\u6570\u7ec4\u9700\u8981 O(L)\uff0c\u8ba1\u7b97\u524d\u7f00\u548c\u9700\u8981 O(N)\uff0c\u56de\u7b54\u6240\u6709\u67e5\u8be2\u9700\u8981 O(Q)\u3002\u603b\u65f6\u95f4\u590d\u6742\u5ea6\u4e3a O(N + L + Q)\uff0c\u7a7a\u95f4\u590d\u6742\u5ea6\u4e3a O(N)\u3002\", \"Common Mistakes\": \"\u5e38\u89c1\u9519\u8bef\", \"Marking every spot covered by every light, which can be too slow for large spreads.\": \"\u9010\u4e2a\u6807\u8bb0\u6bcf\u76cf\u706f\u8986\u76d6\u7684\u6240\u6709\u4f4d\u7f6e\uff0c\u5728\u8303\u56f4\u5f88\u5927\u65f6\u4f1a\u592a\u6162\u3002\", \"Forgetting to clip intervals to the valid range 1..N.\": \"\u5fd8\u8bb0\u628a\u533a\u95f4\u9650\u5236\u5728\u6709\u6548\u8303\u56f4 1..N \u5185\u3002\", \"Forgetting the -1 update at right + 1.\": \"\u5fd8\u8bb0\u5728 right + 1 \u5904\u505a -1 \u66f4\u65b0\u3002\", \"Using nested loops over lights and queries.\": \"\u5bf9\u706f\u548c\u67e5\u8be2\u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u3002\", \"Learning Outcomes\": \"\u5b66\u4e60\u76ee\u6807\", \"Recognize interval coverage problems.\": \"\u8bc6\u522b\u533a\u95f4\u8986\u76d6\u7c7b\u95ee\u9898\u3002\", \"Use a difference array to apply many range updates efficiently.\": \"\u4f7f\u7528\u5dee\u5206\u6570\u7ec4\u9ad8\u6548\u5904\u7406\u5927\u91cf\u533a\u95f4\u66f4\u65b0\u3002\", \"Use prefix sums to convert boundary changes into actual coverage.\": \"\u4f7f\u7528\u524d\u7f00\u548c\u628a\u8fb9\u754c\u53d8\u5316\u8f6c\u6362\u4e3a\u5b9e\u9645\u8986\u76d6\u60c5\u51b5\u3002\", \"Preprocess once so each query can be answered in O(1).\": \"\u901a\u8fc7\u4e00\u6b21\u9884\u5904\u7406\uff0c\u8ba9\u6bcf\u4e2a\u67e5\u8be2\u90fd\u80fd O(1) \u56de\u7b54\u3002\"};\n  const titleMap = map;\n  document.documentElement.lang = 'zh-CN';\n  document.title = document.title.replace('Home', '\u9996\u9875').replace('Solutions', '\u89e3\u51b3\u65b9\u6848').replace('CP Academy', 'CP \u5b66\u9662').replace('IT Consulting', 'IT \u54a8\u8be2').replace('About', '\u5173\u4e8e\u6211\u4eec').replace('Contact', '\u8054\u7cfb\u6211\u4eec').replace('CP Weekly Challenge', 'CP \u6bcf\u5468\u6311\u6218').replace('Python Assessment', 'Python \u7f16\u7a0b\u80fd\u529b\u8bc4\u4f30').replace('Solution & Analysis', '\u89e3\u9898\u4e0e\u5206\u6790').replace('Accel Thinking', '\u52a0\u901f\u5ea6\u601d\u7ef4');\n  function animatedHeading(el, text) {\n    const words = text.includes(' ') ? text.split(' ') : Array.from(text);\n    let offset = 0;\n    el.textContent = '';\n    words.forEach(function(word, wordIndex) {\n      const wordSpan = document.createElement('span');\n      wordSpan.className = 'ati-word';\n      Array.from(word).forEach(function(ch, i) {\n        const letter = document.createElement('span');\n        letter.className = 'ati-letter';\n        letter.style.setProperty('--i', offset + i);\n        letter.textContent = ch;\n        wordSpan.appendChild(letter);\n      });\n      el.appendChild(wordSpan);\n      offset += word.length + 1;\n      if (text.includes(' ') && wordIndex < words.length - 1) {\n        el.appendChild(document.createTextNode(' '));\n      }\n    });\n  }\n  document.querySelectorAll('h1[aria-label]').forEach(function(el){\n    const key = el.getAttribute('aria-label');\n    if (titleMap[key]) animatedHeading(el, titleMap[key]);\n  });\n  const skip = new Set(['SCRIPT','STYLE','PRE','CODE','TEXTAREA']);\n  const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, {\n    acceptNode: function(node){\n      const parent = node.parentElement;\n      if (!parent || skip.has(parent.tagName)) return NodeFilter.FILTER_REJECT;\n      return node.nodeValue.trim() ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;\n    }\n  });\n  const nodes = [];\n  while (walker.nextNode()) nodes.push(walker.currentNode);\n  nodes.forEach(function(node){\n    const raw = node.nodeValue;\n    const trimmed = raw.trim();\n    if (map[trimmed]) node.nodeValue = raw.replace(trimmed, map[trimmed]);\n    else if (trimmed.includes('Accel Thinking')) node.nodeValue = raw.replace(\/Accel Thinking\/g, '\u52a0\u901f\u5ea6\u601d\u7ef4');\n  });\n  document.querySelectorAll('.ati-home h2,.ati-home h3,.ati-home p,.ati-home a,.ati-home span,.ati-home strong,.ati-home b,.ati-home small,.ati-home li,.ati-page h2,.ati-page h3,.ati-page p,.ati-page a,.ati-page span,.ati-page strong,.ati-page b,.ati-page small,.ati-page li').forEach(function(el){\n    if (el.closest('pre,code,script,style,textarea') || el.querySelector('pre,code,script,style,textarea')) return;\n    const key = el.textContent.trim().replace(\/\\s+\/g, ' ');\n    const compactKey = key.replace(\/\\s+\/g, '');\n    if (map[key]) el.textContent = map[key];\n    else if (map[compactKey]) el.textContent = map[compactKey];\n  });\n  document.querySelectorAll('input[placeholder], textarea[placeholder], option, label').forEach(function(el){\n    const text = (el.textContent || el.getAttribute('placeholder') || '').trim();\n    if (map[text]) {\n      if (el.hasAttribute('placeholder')) el.setAttribute('placeholder', map[text]);\n      else el.textContent = map[text];\n    }\n  });\n})();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use interval coverage, a difference array, and prefix sums to answer illumination queries efficiently.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-338","post","type-post","status-publish","format-standard","hentry","category-cp-weekly-challenge"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CCC 2026 J5\/S2 - Beams of Light Solution &amp; Analysis - Accel Thinking<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CCC 2026 J5\/S2 - Beams of Light Solution &amp; Analysis - Accel Thinking\" \/>\n<meta property=\"og:description\" content=\"Use interval coverage, a difference array, and prefix sums to answer illumination queries efficiently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/\" \/>\n<meta property=\"og:site_name\" content=\"Accel Thinking\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-31T12:03:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-01T18:46:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png\" \/>\n<meta name=\"author\" content=\"ATI Builder\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ATI Builder\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/\"},\"author\":{\"name\":\"ATI Builder\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/#\\\/schema\\\/person\\\/8d63f69fa0dd81f3f0906a6c0f28269f\"},\"headline\":\"CCC 2026 J5\\\/S2 &#8211; Beams of Light Solution &#038; Analysis\",\"datePublished\":\"2026-05-31T12:03:00+00:00\",\"dateModified\":\"2026-06-01T18:46:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/\"},\"wordCount\":468,\"image\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/logo-dark-cropped-51.png\",\"articleSection\":[\"CP Weekly Challenge\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/\",\"url\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/\",\"name\":\"CCC 2026 J5\\\/S2 - Beams of Light Solution & Analysis - Accel Thinking\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/logo-dark-cropped-51.png\",\"datePublished\":\"2026-05-31T12:03:00+00:00\",\"dateModified\":\"2026-06-01T18:46:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/#\\\/schema\\\/person\\\/8d63f69fa0dd81f3f0906a6c0f28269f\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/accelthinking.com\\\/staging\\\/4969\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/logo-dark-cropped-51.png?fit=1109%2C191&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/accelthinking.com\\\/staging\\\/4969\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/logo-dark-cropped-51.png?fit=1109%2C191&ssl=1\",\"width\":1109,\"height\":191},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/ccc-2026-j5-solution-analysis\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CCC 2026 J5\\\/S2 &#8211; Beams of Light Solution &#038; Analysis\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/#website\",\"url\":\"https:\\\/\\\/accelthinking.com\\\/\",\"name\":\"Accel Thinking\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/accelthinking.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/#\\\/schema\\\/person\\\/8d63f69fa0dd81f3f0906a6c0f28269f\",\"name\":\"ATI Builder\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c77af32770dc7e2c3451795691a8d8e3e2d0c9faa5af72043c703fa202bdcd81?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c77af32770dc7e2c3451795691a8d8e3e2d0c9faa5af72043c703fa202bdcd81?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c77af32770dc7e2c3451795691a8d8e3e2d0c9faa5af72043c703fa202bdcd81?s=96&d=mm&r=g\",\"caption\":\"ATI Builder\"},\"url\":\"https:\\\/\\\/accelthinking.com\\\/staging\\\/4969\\\/author\\\/ati-builder\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CCC 2026 J5\/S2 - Beams of Light Solution & Analysis - Accel Thinking","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/","og_locale":"en_US","og_type":"article","og_title":"CCC 2026 J5\/S2 - Beams of Light Solution & Analysis - Accel Thinking","og_description":"Use interval coverage, a difference array, and prefix sums to answer illumination queries efficiently.","og_url":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/","og_site_name":"Accel Thinking","article_published_time":"2026-05-31T12:03:00+00:00","article_modified_time":"2026-06-01T18:46:09+00:00","og_image":[{"url":"https:\/\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png","type":"","width":"","height":""}],"author":"ATI Builder","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ATI Builder","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/#article","isPartOf":{"@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/"},"author":{"name":"ATI Builder","@id":"https:\/\/accelthinking.com\/#\/schema\/person\/8d63f69fa0dd81f3f0906a6c0f28269f"},"headline":"CCC 2026 J5\/S2 &#8211; Beams of Light Solution &#038; Analysis","datePublished":"2026-05-31T12:03:00+00:00","dateModified":"2026-06-01T18:46:09+00:00","mainEntityOfPage":{"@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/"},"wordCount":468,"image":{"@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/#primaryimage"},"thumbnailUrl":"https:\/\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png","articleSection":["CP Weekly Challenge"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/","url":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/","name":"CCC 2026 J5\/S2 - Beams of Light Solution & Analysis - Accel Thinking","isPartOf":{"@id":"https:\/\/accelthinking.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/#primaryimage"},"image":{"@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/#primaryimage"},"thumbnailUrl":"https:\/\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png","datePublished":"2026-05-31T12:03:00+00:00","dateModified":"2026-06-01T18:46:09+00:00","author":{"@id":"https:\/\/accelthinking.com\/#\/schema\/person\/8d63f69fa0dd81f3f0906a6c0f28269f"},"breadcrumb":{"@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/#primaryimage","url":"https:\/\/i0.wp.com\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png?fit=1109%2C191&ssl=1","contentUrl":"https:\/\/i0.wp.com\/accelthinking.com\/staging\/4969\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png?fit=1109%2C191&ssl=1","width":1109,"height":191},{"@type":"BreadcrumbList","@id":"https:\/\/accelthinking.com\/staging\/4969\/ccc-2026-j5-solution-analysis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accelthinking.com\/staging\/4969\/"},{"@type":"ListItem","position":2,"name":"CCC 2026 J5\/S2 &#8211; Beams of Light Solution &#038; Analysis"}]},{"@type":"WebSite","@id":"https:\/\/accelthinking.com\/#website","url":"https:\/\/accelthinking.com\/","name":"Accel Thinking","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accelthinking.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/accelthinking.com\/#\/schema\/person\/8d63f69fa0dd81f3f0906a6c0f28269f","name":"ATI Builder","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c77af32770dc7e2c3451795691a8d8e3e2d0c9faa5af72043c703fa202bdcd81?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c77af32770dc7e2c3451795691a8d8e3e2d0c9faa5af72043c703fa202bdcd81?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c77af32770dc7e2c3451795691a8d8e3e2d0c9faa5af72043c703fa202bdcd81?s=96&d=mm&r=g","caption":"ATI Builder"},"url":"https:\/\/accelthinking.com\/staging\/4969\/author\/ati-builder\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/posts\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":56,"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":1099,"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/posts\/338\/revisions\/1099"}],"wp:attachment":[{"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/media?parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/categories?post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accelthinking.com\/staging\/4969\/wp-json\/wp\/v2\/tags?post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}