不正解
解答を見る
残念ながら不正解です。
解答を見るにはメールアドレスを登録してください。
解答を見る
Notice (8): compact(): Undefined variable: etagMatches [CORE/src/Http/Response.php, line 2066]Code Context}
$checks = compact('etagMatches', 'timeMatches');
if (empty($checks)) {
$request = object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [[maximum depth reached]], 'controller' => 'ChugakujukenQuizzes', 'action' => 'sansu', 'plugin' => null, '_matchedRoute' => '/chugakujuken/quizzes/sansu', '_ext' => null, 'isAjax' => false ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => '600442.af3pvw49.asia', 'HTTP_X_REAL_IP' => '172.70.179.74', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_LISTEN_IPADDR' => '219.94.160.234', 'HTTP_CF_RAY' => '8e99c30359e76315-ORD', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_CONNECTING_IP' => '18.222.164.176', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_CDN_LOOP' => 'cloudflare; loops=1', 'PATH' => '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => '600442.af3pvw49.asia', 'SERVER_ADDR' => '100.64.0.31', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.70.179.74', 'DOCUMENT_ROOT' => '/home/juku-koushi/www', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/juku-koushi/www', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/juku-koushi/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/chugakujuken/quizzes/sansu', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/chugakujuken/quizzes/sansu', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1732790656.7817, 'REQUEST_TIME' => (int) 1732790656, 'argv' => [[maximum depth reached]], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'chugakujuken/quizzes/sansu' [protected] base => '' [protected] webroot => '/' [protected] here => '/chugakujuken/quizzes/sansu' [protected] _input => null [protected] _detectors => [ 'get' => [ [maximum depth reached] ], 'post' => [ [maximum depth reached] ], 'put' => [ [maximum depth reached] ], 'patch' => [ [maximum depth reached] ], 'delete' => [ [maximum depth reached] ], 'head' => [ [maximum depth reached] ], 'options' => [ [maximum depth reached] ], 'ssl' => [ [maximum depth reached] ], 'ajax' => [ [maximum depth reached] ], 'flash' => [ [maximum depth reached] ], 'requested' => [ [maximum depth reached] ], 'json' => [ [maximum depth reached] ], 'xml' => [ [maximum depth reached] ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ [maximum depth reached] ], 'query' => [ [maximum depth reached] ], 'params' => [ [maximum depth reached] ], 'cookies' => [ [maximum depth reached] ], 'url' => [ [maximum depth reached] ], 'base' => [ [maximum depth reached] ], 'webroot' => [ [maximum depth reached] ], 'here' => [ [maximum depth reached] ] ] } $etags = [] $responseTag = '' $modifiedSince = ''compact - [internal], line ?? Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 2066 Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 344 Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 353 Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 330 Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 114 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 777 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: timeMatches [CORE/src/Http/Response.php, line 2066]Code Context}
$checks = compact('etagMatches', 'timeMatches');
if (empty($checks)) {
$request = object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [[maximum depth reached]], 'controller' => 'ChugakujukenQuizzes', 'action' => 'sansu', 'plugin' => null, '_matchedRoute' => '/chugakujuken/quizzes/sansu', '_ext' => null, 'isAjax' => false ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => '600442.af3pvw49.asia', 'HTTP_X_REAL_IP' => '172.70.179.74', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_LISTEN_IPADDR' => '219.94.160.234', 'HTTP_CF_RAY' => '8e99c30359e76315-ORD', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_CONNECTING_IP' => '18.222.164.176', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_CDN_LOOP' => 'cloudflare; loops=1', 'PATH' => '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => '600442.af3pvw49.asia', 'SERVER_ADDR' => '100.64.0.31', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.70.179.74', 'DOCUMENT_ROOT' => '/home/juku-koushi/www', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/juku-koushi/www', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/home/juku-koushi/www/webroot/index.php', 'REMOTE_PORT' => '0', 'REDIRECT_URL' => '/webroot/chugakujuken/quizzes/sansu', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/chugakujuken/quizzes/sansu', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1732790656.7817, 'REQUEST_TIME' => (int) 1732790656, 'argv' => [[maximum depth reached]], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'chugakujuken/quizzes/sansu' [protected] base => '' [protected] webroot => '/' [protected] here => '/chugakujuken/quizzes/sansu' [protected] _input => null [protected] _detectors => [ 'get' => [ [maximum depth reached] ], 'post' => [ [maximum depth reached] ], 'put' => [ [maximum depth reached] ], 'patch' => [ [maximum depth reached] ], 'delete' => [ [maximum depth reached] ], 'head' => [ [maximum depth reached] ], 'options' => [ [maximum depth reached] ], 'ssl' => [ [maximum depth reached] ], 'ajax' => [ [maximum depth reached] ], 'flash' => [ [maximum depth reached] ], 'requested' => [ [maximum depth reached] ], 'json' => [ [maximum depth reached] ], 'xml' => [ [maximum depth reached] ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ [maximum depth reached] ], 'query' => [ [maximum depth reached] ], 'params' => [ [maximum depth reached] ], 'cookies' => [ [maximum depth reached] ], 'url' => [ [maximum depth reached] ], 'base' => [ [maximum depth reached] ], 'webroot' => [ [maximum depth reached] ], 'here' => [ [maximum depth reached] ] ] } $etags = [] $responseTag = '' $modifiedSince = ''compact - [internal], line ?? Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 2066 Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 344 Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 353 Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 330 Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 114 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 777 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (512): Unable to emit headers. Headers sent in file=/home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 48]Code Contextif (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>算数 | あなたは本当にプロ講師!?この問題解けますか? | JUKUKOU.net</title> <meta name="description" content=""> <meta name="keywords" content=""> <link href="/assets/quizzes/chugakujuken/sansu.1/css/style.libs.css" rel="stylesheet"> <link href="/assets/quizzes/chugakujuken/sansu.1/css/style.index.css" rel="stylesheet"> </head> <body onload="init();"> <div class="app"> <header> <div class="inner"> <span class="logo" style="width: 160px;"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-trace').style.display = (document.getElementById('cakeErr67484980c576b-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: file_get_contents(/home/juku-koushi/www/logo.white.svg) [<a href='https://secure.php.net/function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: そのようなファイルまたはディレクトリはありません [<b>APP/View/AppPublicView.php</b>, line <b>178</b>]<div id="cakeErr67484980c576b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-code').style.display = (document.getElementById('cakeErr67484980c576b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-context').style.display = (document.getElementById('cakeErr67484980c576b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr67484980c576b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$path</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre><pre id="cakeErr67484980c576b-context" class="cake-context" style="display: none;">$type = 'white' $path = '/home/juku-koushi/www/logo.white.svg'</pre><pre class="stack-trace">file_get_contents - [internal], line ?? App\View\AppPublicView::logo() - APP/View/AppPublicView.php, line 178 include - APP/Template/ChugakujukenQuizzes/sansu.ctp, line 23 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre></span> <h1 class="app-name">この問題解けますか? 算数編</h1> </div> </header> <section class="section-question"> <div class="section-question-bg"></div> <div class="question-season1"> <h1 class="title"> <span class="row">次の問題の解法を下の選択肢からすべて選びなさい。</span> </h1> <p class="q"> 1より小さい、分母が120の既約分数をすべて足すと、<br>その和はいくつになりますか。 </p> </div> </section> <section class="section-dad"> <section class="answer-select"> <div class="header"> <h1>解法</h1> </div> <div class="body"></div> <div id="js-answers"> <div class="answer" data-answer="1"><span class="inner">ベン図</span></div> <div class="answer" data-answer="2"><span class="inner">面積図</span></div> <div class="answer" data-answer="3"><span class="inner">線分図</span></div> <div class="answer" data-answer="4"><span class="inner">素因数分解</span></div> <div class="answer" data-answer="5"><span class="inner">メネラウスの定理</span></div> <div class="answer" data-answer="6"><span class="inner">等差数列</span></div> <div class="answer" data-answer="7"><span class="inner">フィボナッチ数列</span></div> <div class="answer" data-answer="8"><span class="inner">オイラー関数</span></div> <div class="answer" data-answer="9"><span class="inner">周期算</span></div> <div class="answer" data-answer="10"><span class="inner">通過算</span></div> </div> </section> <section class="answer-area"> <div class="header"> <h1>解答エリア</h1> </div> <div id="js-answer-area" class="answer-drop-area"> <p>こちらに解法をドロップしてください</p> </div> </section> </section> <section class="answer-actions"> <p class="read">上記解答に間違いなければ答え合わせをおこなってください。</p> <span class="btn border-btn" id="js-run-check"><span class="inner">答え合わせ</span></span> <span class="btn border-btn" id="js-reset"><span class="inner">リセット</span></span> </section> <section id="section-result"></section> <section id="js-result-incorrect" class="result-window result-window-incorrect"> <div class="result-window-inner"> <div class="content" id=""> <div class="content-header"> <h1 class="title">不正解</h1> </div> <div class="content-body" id="js-incorrect-action"> <h2>解答を見る</h2> <p>残念ながら不正解です。<br>解答を見るにはメールアドレスを登録してください。</p> <div class="in-valid-message">メールアドレスを正しく入力してください。</div> <div class="input-email-area"> <div class="input-email"><input type="email" value="" placeholder="メールアドレス" class="email" id=""></div> <div class="input-btn"><span class="btn btn-send-email">解答を見る</span></div> </div> </div> <div class="content-footer actions"> <span class="btn btn-close close-result">閉じる</span> </div> </div> </div> <div class="ani-incorrect" id="js-ani-incorrect"> <div class="ani-content" id="js-ani-incorrect-content"> <h1><span class="t t1">不</span><span class="t t2">正</span><span class="t t3">解</span></h1> <p> 残念ながら<br>不正解です。<br> またの挑戦を<br>お待ちしています。<br> (^o^) </p> </div> </div> </section> <section id="js-result-right" class="result-window result-window-right"> <div id="animation_container" style="background-color:rgba(255, 255, 255, 0); width:550px; height:400px"> <canvas id="canvas" width="550" height="400" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 0);"></canvas> <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:550px; height:400px; position: absolute; left: 0; top: 0; display: block;"> </div> </div> <div class="result-window-inner"> <div class="content" id=""> <div class="content-header"> <h1 class="title">正解</h1> </div> <div class="content-body" id="js-right-action"> <h2>次の問題にチャレンジ</h2> <p>次の問題にチャレンジする場合、</p> <div class="in-valid-message">メールアドレスを正しく入力してください。</div> <div class="input-email-area"> <div class="input-email"><input type="email" value="" placeholder="メールアドレス" class="email"></div> <div class="input-btn"><span class="btn btn-send-email">チャレンジ</span></div> </div> </div> <div class="content-footer actions"> <span class="btn btn-close close-result">閉じる</span> </div> </div> </div> <div class="ani-right" id="js-ani-right"> <div class="ani-content" id="js-ani-right-content"> <h1><span class="t t1">正</span><span class="t t2">解</span><span class="t t3">!</span></h1> <p> 正解です。<br> あなたは素晴らしい!<br> (*^^*) </p> </div> </div> </section> </div> <script type="text/javascript" src="/assets/quizzes/chugakujuken/sansu.1/js/app.js"></script> <script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script> <script src="/assets/quizzes/chugakujuken/sansu.1/js/hanabi03.js"></script> <script> var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation; function init() { canvas = document.getElementById("canvas"); anim_container = document.getElementById("animation_container"); dom_overlay_container = document.getElementById("dom_overlay_container"); var comp=AdobeAn.getComposition("54B4EBE7A8D867459C9E677B4CC5B698"); var lib=comp.getLibrary(); var loader = new createjs.LoadQueue(false); loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)}); loader.addEventListener("complete", function(evt){handleComplete(evt,comp)}); var lib=comp.getLibrary(); loader.loadManifest(lib.properties.manifest); } function handleFileLoad(evt, comp) { var images=comp.getImages(); if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; } } function handleComplete(evt,comp) { //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage. var lib=comp.getLibrary(); var ss=comp.getSpriteSheet(); var queue = evt.target; var ssMetadata = lib.ssMetadata; for(i=0; i<ssMetadata.length; i++) { ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} ) } exportRoot = new lib.hanabi03(); stage = new lib.Stage(canvas); //Registers the "tick" event listener. fnStartAnimation = function() { stage.addChild(exportRoot); createjs.Ticker.setFPS(lib.properties.fps); createjs.Ticker.addEventListener("tick", stage); } //Code to support hidpi screens and responsive scaling. function makeResponsive(isResp, respDim, isScale, scaleType) { var lastW, lastH, lastS=1; window.addEventListener('resize', resizeCanvas); resizeCanvas(); function resizeCanvas() { var w = lib.properties.width, h = lib.properties.height; var iw = window.innerWidth, ih=window.innerHeight; var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1; if(isResp) { if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) { sRatio = lastS; } else if(!isScale) { if(iw<w || ih<h) sRatio = Math.min(xRatio, yRatio); } else if(scaleType==1) { sRatio = Math.min(xRatio, yRatio); } else if(scaleType==2) { sRatio = Math.max(xRatio, yRatio); } } canvas.width = w*pRatio*sRatio; canvas.height = h*pRatio*sRatio; canvas.style.width = dom_overlay_container.style.width = anim_container.style.width = w*sRatio+'px'; canvas.style.height = anim_container.style.height = dom_overlay_container.style.height = h*sRatio+'px'; stage.scaleX = pRatio*sRatio; stage.scaleY = pRatio*sRatio; lastW = iw; lastH = ih; lastS = sRatio; stage.tickOnUpdate = false; stage.update(); stage.tickOnUpdate = true; } } makeResponsive(false,'both',false,1); AdobeAn.compositionLoaded(lib.properties.id); //fnStartAnimation(); } </script> </body> </html>' } $maxBufferLength = (int) 8192 $file = '/home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 853 $message = 'Unable to emit headers. Headers sent in file=/home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php line=853'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 148]Code Context$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>算数 | あなたは本当にプロ講師!?この問題解けますか? | JUKUKOU.net</title> <meta name="description" content=""> <meta name="keywords" content=""> <link href="/assets/quizzes/chugakujuken/sansu.1/css/style.libs.css" rel="stylesheet"> <link href="/assets/quizzes/chugakujuken/sansu.1/css/style.index.css" rel="stylesheet"> </head> <body onload="init();"> <div class="app"> <header> <div class="inner"> <span class="logo" style="width: 160px;"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-trace').style.display = (document.getElementById('cakeErr67484980c576b-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: file_get_contents(/home/juku-koushi/www/logo.white.svg) [<a href='https://secure.php.net/function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: そのようなファイルまたはディレクトリはありません [<b>APP/View/AppPublicView.php</b>, line <b>178</b>]<div id="cakeErr67484980c576b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-code').style.display = (document.getElementById('cakeErr67484980c576b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-context').style.display = (document.getElementById('cakeErr67484980c576b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr67484980c576b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$path</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre><pre id="cakeErr67484980c576b-context" class="cake-context" style="display: none;">$type = 'white' $path = '/home/juku-koushi/www/logo.white.svg'</pre><pre class="stack-trace">file_get_contents - [internal], line ?? App\View\AppPublicView::logo() - APP/View/AppPublicView.php, line 178 include - APP/Template/ChugakujukenQuizzes/sansu.ctp, line 23 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre></span> <h1 class="app-name">この問題解けますか? 算数編</h1> </div> </header> <section class="section-question"> <div class="section-question-bg"></div> <div class="question-season1"> <h1 class="title"> <span class="row">次の問題の解法を下の選択肢からすべて選びなさい。</span> </h1> <p class="q"> 1より小さい、分母が120の既約分数をすべて足すと、<br>その和はいくつになりますか。 </p> </div> </section> <section class="section-dad"> <section class="answer-select"> <div class="header"> <h1>解法</h1> </div> <div class="body"></div> <div id="js-answers"> <div class="answer" data-answer="1"><span class="inner">ベン図</span></div> <div class="answer" data-answer="2"><span class="inner">面積図</span></div> <div class="answer" data-answer="3"><span class="inner">線分図</span></div> <div class="answer" data-answer="4"><span class="inner">素因数分解</span></div> <div class="answer" data-answer="5"><span class="inner">メネラウスの定理</span></div> <div class="answer" data-answer="6"><span class="inner">等差数列</span></div> <div class="answer" data-answer="7"><span class="inner">フィボナッチ数列</span></div> <div class="answer" data-answer="8"><span class="inner">オイラー関数</span></div> <div class="answer" data-answer="9"><span class="inner">周期算</span></div> <div class="answer" data-answer="10"><span class="inner">通過算</span></div> </div> </section> <section class="answer-area"> <div class="header"> <h1>解答エリア</h1> </div> <div id="js-answer-area" class="answer-drop-area"> <p>こちらに解法をドロップしてください</p> </div> </section> </section> <section class="answer-actions"> <p class="read">上記解答に間違いなければ答え合わせをおこなってください。</p> <span class="btn border-btn" id="js-run-check"><span class="inner">答え合わせ</span></span> <span class="btn border-btn" id="js-reset"><span class="inner">リセット</span></span> </section> <section id="section-result"></section> <section id="js-result-incorrect" class="result-window result-window-incorrect"> <div class="result-window-inner"> <div class="content" id=""> <div class="content-header"> <h1 class="title">不正解</h1> </div> <div class="content-body" id="js-incorrect-action"> <h2>解答を見る</h2> <p>残念ながら不正解です。<br>解答を見るにはメールアドレスを登録してください。</p> <div class="in-valid-message">メールアドレスを正しく入力してください。</div> <div class="input-email-area"> <div class="input-email"><input type="email" value="" placeholder="メールアドレス" class="email" id=""></div> <div class="input-btn"><span class="btn btn-send-email">解答を見る</span></div> </div> </div> <div class="content-footer actions"> <span class="btn btn-close close-result">閉じる</span> </div> </div> </div> <div class="ani-incorrect" id="js-ani-incorrect"> <div class="ani-content" id="js-ani-incorrect-content"> <h1><span class="t t1">不</span><span class="t t2">正</span><span class="t t3">解</span></h1> <p> 残念ながら<br>不正解です。<br> またの挑戦を<br>お待ちしています。<br> (^o^) </p> </div> </div> </section> <section id="js-result-right" class="result-window result-window-right"> <div id="animation_container" style="background-color:rgba(255, 255, 255, 0); width:550px; height:400px"> <canvas id="canvas" width="550" height="400" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 0);"></canvas> <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:550px; height:400px; position: absolute; left: 0; top: 0; display: block;"> </div> </div> <div class="result-window-inner"> <div class="content" id=""> <div class="content-header"> <h1 class="title">正解</h1> </div> <div class="content-body" id="js-right-action"> <h2>次の問題にチャレンジ</h2> <p>次の問題にチャレンジする場合、</p> <div class="in-valid-message">メールアドレスを正しく入力してください。</div> <div class="input-email-area"> <div class="input-email"><input type="email" value="" placeholder="メールアドレス" class="email"></div> <div class="input-btn"><span class="btn btn-send-email">チャレンジ</span></div> </div> </div> <div class="content-footer actions"> <span class="btn btn-close close-result">閉じる</span> </div> </div> </div> <div class="ani-right" id="js-ani-right"> <div class="ani-content" id="js-ani-right-content"> <h1><span class="t t1">正</span><span class="t t2">解</span><span class="t t3">!</span></h1> <p> 正解です。<br> あなたは素晴らしい!<br> (*^^*) </p> </div> </div> </section> </div> <script type="text/javascript" src="/assets/quizzes/chugakujuken/sansu.1/js/app.js"></script> <script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script> <script src="/assets/quizzes/chugakujuken/sansu.1/js/hanabi03.js"></script> <script> var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation; function init() { canvas = document.getElementById("canvas"); anim_container = document.getElementById("animation_container"); dom_overlay_container = document.getElementById("dom_overlay_container"); var comp=AdobeAn.getComposition("54B4EBE7A8D867459C9E677B4CC5B698"); var lib=comp.getLibrary(); var loader = new createjs.LoadQueue(false); loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)}); loader.addEventListener("complete", function(evt){handleComplete(evt,comp)}); var lib=comp.getLibrary(); loader.loadManifest(lib.properties.manifest); } function handleFileLoad(evt, comp) { var images=comp.getImages(); if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; } } function handleComplete(evt,comp) { //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage. var lib=comp.getLibrary(); var ss=comp.getSpriteSheet(); var queue = evt.target; var ssMetadata = lib.ssMetadata; for(i=0; i<ssMetadata.length; i++) { ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} ) } exportRoot = new lib.hanabi03(); stage = new lib.Stage(canvas); //Registers the "tick" event listener. fnStartAnimation = function() { stage.addChild(exportRoot); createjs.Ticker.setFPS(lib.properties.fps); createjs.Ticker.addEventListener("tick", stage); } //Code to support hidpi screens and responsive scaling. function makeResponsive(isResp, respDim, isScale, scaleType) { var lastW, lastH, lastS=1; window.addEventListener('resize', resizeCanvas); resizeCanvas(); function resizeCanvas() { var w = lib.properties.width, h = lib.properties.height; var iw = window.innerWidth, ih=window.innerHeight; var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1; if(isResp) { if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) { sRatio = lastS; } else if(!isScale) { if(iw<w || ih<h) sRatio = Math.min(xRatio, yRatio); } else if(scaleType==1) { sRatio = Math.min(xRatio, yRatio); } else if(scaleType==2) { sRatio = Math.max(xRatio, yRatio); } } canvas.width = w*pRatio*sRatio; canvas.height = h*pRatio*sRatio; canvas.style.width = dom_overlay_container.style.width = anim_container.style.width = w*sRatio+'px'; canvas.style.height = anim_container.style.height = dom_overlay_container.style.height = h*sRatio+'px'; stage.scaleX = pRatio*sRatio; stage.scaleY = pRatio*sRatio; lastW = iw; lastH = ih; lastS = sRatio; stage.tickOnUpdate = false; stage.update(); stage.tickOnUpdate = true; } } makeResponsive(false,'both',false,1); AdobeAn.compositionLoaded(lib.properties.id); //fnStartAnimation(); } </script> </body> </html>' } $reasonPhrase = 'OK'header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 177]Code Contextforeach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>算数 | あなたは本当にプロ講師!?この問題解けますか? | JUKUKOU.net</title> <meta name="description" content=""> <meta name="keywords" content=""> <link href="/assets/quizzes/chugakujuken/sansu.1/css/style.libs.css" rel="stylesheet"> <link href="/assets/quizzes/chugakujuken/sansu.1/css/style.index.css" rel="stylesheet"> </head> <body onload="init();"> <div class="app"> <header> <div class="inner"> <span class="logo" style="width: 160px;"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-trace').style.display = (document.getElementById('cakeErr67484980c576b-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: file_get_contents(/home/juku-koushi/www/logo.white.svg) [<a href='https://secure.php.net/function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: そのようなファイルまたはディレクトリはありません [<b>APP/View/AppPublicView.php</b>, line <b>178</b>]<div id="cakeErr67484980c576b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-code').style.display = (document.getElementById('cakeErr67484980c576b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr67484980c576b-context').style.display = (document.getElementById('cakeErr67484980c576b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr67484980c576b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$path</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre><pre id="cakeErr67484980c576b-context" class="cake-context" style="display: none;">$type = 'white' $path = '/home/juku-koushi/www/logo.white.svg'</pre><pre class="stack-trace">file_get_contents - [internal], line ?? App\View\AppPublicView::logo() - APP/View/AppPublicView.php, line 178 include - APP/Template/ChugakujukenQuizzes/sansu.ctp, line 23 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65</pre></div></pre></span> <h1 class="app-name">この問題解けますか? 算数編</h1> </div> </header> <section class="section-question"> <div class="section-question-bg"></div> <div class="question-season1"> <h1 class="title"> <span class="row">次の問題の解法を下の選択肢からすべて選びなさい。</span> </h1> <p class="q"> 1より小さい、分母が120の既約分数をすべて足すと、<br>その和はいくつになりますか。 </p> </div> </section> <section class="section-dad"> <section class="answer-select"> <div class="header"> <h1>解法</h1> </div> <div class="body"></div> <div id="js-answers"> <div class="answer" data-answer="1"><span class="inner">ベン図</span></div> <div class="answer" data-answer="2"><span class="inner">面積図</span></div> <div class="answer" data-answer="3"><span class="inner">線分図</span></div> <div class="answer" data-answer="4"><span class="inner">素因数分解</span></div> <div class="answer" data-answer="5"><span class="inner">メネラウスの定理</span></div> <div class="answer" data-answer="6"><span class="inner">等差数列</span></div> <div class="answer" data-answer="7"><span class="inner">フィボナッチ数列</span></div> <div class="answer" data-answer="8"><span class="inner">オイラー関数</span></div> <div class="answer" data-answer="9"><span class="inner">周期算</span></div> <div class="answer" data-answer="10"><span class="inner">通過算</span></div> </div> </section> <section class="answer-area"> <div class="header"> <h1>解答エリア</h1> </div> <div id="js-answer-area" class="answer-drop-area"> <p>こちらに解法をドロップしてください</p> </div> </section> </section> <section class="answer-actions"> <p class="read">上記解答に間違いなければ答え合わせをおこなってください。</p> <span class="btn border-btn" id="js-run-check"><span class="inner">答え合わせ</span></span> <span class="btn border-btn" id="js-reset"><span class="inner">リセット</span></span> </section> <section id="section-result"></section> <section id="js-result-incorrect" class="result-window result-window-incorrect"> <div class="result-window-inner"> <div class="content" id=""> <div class="content-header"> <h1 class="title">不正解</h1> </div> <div class="content-body" id="js-incorrect-action"> <h2>解答を見る</h2> <p>残念ながら不正解です。<br>解答を見るにはメールアドレスを登録してください。</p> <div class="in-valid-message">メールアドレスを正しく入力してください。</div> <div class="input-email-area"> <div class="input-email"><input type="email" value="" placeholder="メールアドレス" class="email" id=""></div> <div class="input-btn"><span class="btn btn-send-email">解答を見る</span></div> </div> </div> <div class="content-footer actions"> <span class="btn btn-close close-result">閉じる</span> </div> </div> </div> <div class="ani-incorrect" id="js-ani-incorrect"> <div class="ani-content" id="js-ani-incorrect-content"> <h1><span class="t t1">不</span><span class="t t2">正</span><span class="t t3">解</span></h1> <p> 残念ながら<br>不正解です。<br> またの挑戦を<br>お待ちしています。<br> (^o^) </p> </div> </div> </section> <section id="js-result-right" class="result-window result-window-right"> <div id="animation_container" style="background-color:rgba(255, 255, 255, 0); width:550px; height:400px"> <canvas id="canvas" width="550" height="400" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 0);"></canvas> <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:550px; height:400px; position: absolute; left: 0; top: 0; display: block;"> </div> </div> <div class="result-window-inner"> <div class="content" id=""> <div class="content-header"> <h1 class="title">正解</h1> </div> <div class="content-body" id="js-right-action"> <h2>次の問題にチャレンジ</h2> <p>次の問題にチャレンジする場合、</p> <div class="in-valid-message">メールアドレスを正しく入力してください。</div> <div class="input-email-area"> <div class="input-email"><input type="email" value="" placeholder="メールアドレス" class="email"></div> <div class="input-btn"><span class="btn btn-send-email">チャレンジ</span></div> </div> </div> <div class="content-footer actions"> <span class="btn btn-close close-result">閉じる</span> </div> </div> </div> <div class="ani-right" id="js-ani-right"> <div class="ani-content" id="js-ani-right-content"> <h1><span class="t t1">正</span><span class="t t2">解</span><span class="t t3">!</span></h1> <p> 正解です。<br> あなたは素晴らしい!<br> (*^^*) </p> </div> </div> </section> </div> <script type="text/javascript" src="/assets/quizzes/chugakujuken/sansu.1/js/app.js"></script> <script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script> <script src="/assets/quizzes/chugakujuken/sansu.1/js/hanabi03.js"></script> <script> var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation; function init() { canvas = document.getElementById("canvas"); anim_container = document.getElementById("animation_container"); dom_overlay_container = document.getElementById("dom_overlay_container"); var comp=AdobeAn.getComposition("54B4EBE7A8D867459C9E677B4CC5B698"); var lib=comp.getLibrary(); var loader = new createjs.LoadQueue(false); loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)}); loader.addEventListener("complete", function(evt){handleComplete(evt,comp)}); var lib=comp.getLibrary(); loader.loadManifest(lib.properties.manifest); } function handleFileLoad(evt, comp) { var images=comp.getImages(); if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; } } function handleComplete(evt,comp) { //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage. var lib=comp.getLibrary(); var ss=comp.getSpriteSheet(); var queue = evt.target; var ssMetadata = lib.ssMetadata; for(i=0; i<ssMetadata.length; i++) { ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} ) } exportRoot = new lib.hanabi03(); stage = new lib.Stage(canvas); //Registers the "tick" event listener. fnStartAnimation = function() { stage.addChild(exportRoot); createjs.Ticker.setFPS(lib.properties.fps); createjs.Ticker.addEventListener("tick", stage); } //Code to support hidpi screens and responsive scaling. function makeResponsive(isResp, respDim, isScale, scaleType) { var lastW, lastH, lastS=1; window.addEventListener('resize', resizeCanvas); resizeCanvas(); function resizeCanvas() { var w = lib.properties.width, h = lib.properties.height; var iw = window.innerWidth, ih=window.innerHeight; var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1; if(isResp) { if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) { sRatio = lastS; } else if(!isScale) { if(iw<w || ih<h) sRatio = Math.min(xRatio, yRatio); } else if(scaleType==1) { sRatio = Math.min(xRatio, yRatio); } else if(scaleType==2) { sRatio = Math.max(xRatio, yRatio); } } canvas.width = w*pRatio*sRatio; canvas.height = h*pRatio*sRatio; canvas.style.width = dom_overlay_container.style.width = anim_container.style.width = w*sRatio+'px'; canvas.style.height = anim_container.style.height = dom_overlay_container.style.height = h*sRatio+'px'; stage.scaleX = pRatio*sRatio; stage.scaleY = pRatio*sRatio; lastW = iw; lastH = ih; lastS = sRatio; stage.tickOnUpdate = false; stage.update(); stage.tickOnUpdate = true; } } makeResponsive(false,'both',false,1); AdobeAn.compositionLoaded(lib.properties.id); //fnStartAnimation(); } </script> </body> </html>' } $cookies = [] $values = [ (int) 0 => 'text/html; charset=UTF-8' ] $name = 'Content-Type' $first = true $value = 'text/html; charset=UTF-8'header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141 [main] - ROOT/webroot/index.php, line 37
Warning (2): file_get_contents(/home/juku-koushi/www/logo.white.svg) [<a href='https://secure.php.net/function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: そのようなファイルまたはディレクトリはありません [APP/View/AppPublicView.php, line 178]Code Context
return file_get_contents($path);
}
$type = 'white' $path = '/home/juku-koushi/www/logo.white.svg'file_get_contents - [internal], line ?? App\View\AppPublicView::logo() - APP/View/AppPublicView.php, line 178 include - APP/Template/ChugakujukenQuizzes/sansu.ctp, line 23 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
1より小さい、分母が120の既約分数をすべて足すと、
その和はいくつになりますか。
こちらに解法をドロップしてください
上記解答に間違いなければ答え合わせをおこなってください。
答え合わせ リセット残念ながら不正解です。
解答を見るにはメールアドレスを登録してください。
残念ながら
不正解です。
またの挑戦を
お待ちしています。
(^o^)
次の問題にチャレンジする場合、
正解です。
あなたは素晴らしい!
(*^^*)