結果
問題 | No.525 二度寝の季節 |
ユーザー | Goryudyuma |
提出日時 | 2019-03-26 19:31:01 |
言語 | JavaScript (node v21.7.1) |
結果 |
AC
|
実行時間 | 83 ms / 1,000 ms |
コード長 | 17,573 bytes |
コンパイル時間 | 31 ms |
コンパイル使用メモリ | 6,692 KB |
実行使用メモリ | 42,924 KB |
最終ジャッジ日時 | 2024-10-13 01:04:33 |
合計ジャッジ時間 | 3,777 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 80 ms
40,704 KB |
testcase_01 | AC | 83 ms
40,704 KB |
testcase_02 | AC | 82 ms
42,676 KB |
testcase_03 | AC | 80 ms
42,732 KB |
testcase_04 | AC | 78 ms
40,704 KB |
testcase_05 | AC | 75 ms
42,920 KB |
testcase_06 | AC | 79 ms
40,704 KB |
testcase_07 | AC | 78 ms
42,668 KB |
testcase_08 | AC | 80 ms
40,704 KB |
testcase_09 | AC | 81 ms
40,832 KB |
testcase_10 | AC | 77 ms
42,680 KB |
testcase_11 | AC | 78 ms
42,804 KB |
testcase_12 | AC | 78 ms
42,924 KB |
testcase_13 | AC | 77 ms
40,960 KB |
testcase_14 | AC | 79 ms
40,704 KB |
testcase_15 | AC | 77 ms
40,960 KB |
testcase_16 | AC | 77 ms
40,960 KB |
testcase_17 | AC | 81 ms
42,748 KB |
testcase_18 | AC | 78 ms
40,832 KB |
testcase_19 | AC | 79 ms
40,704 KB |
testcase_20 | AC | 78 ms
42,668 KB |
testcase_21 | AC | 79 ms
40,704 KB |
testcase_22 | AC | 79 ms
42,732 KB |
testcase_23 | AC | 78 ms
42,672 KB |
testcase_24 | AC | 79 ms
42,796 KB |
testcase_25 | AC | 77 ms
42,800 KB |
testcase_26 | AC | 75 ms
40,576 KB |
testcase_27 | AC | 76 ms
40,576 KB |
testcase_28 | AC | 72 ms
40,576 KB |
testcase_29 | AC | 75 ms
42,800 KB |
testcase_30 | AC | 83 ms
40,704 KB |
testcase_31 | AC | 74 ms
40,832 KB |
testcase_32 | AC | 77 ms
40,576 KB |
testcase_33 | AC | 78 ms
42,872 KB |
testcase_34 | AC | 78 ms
40,704 KB |
ソースコード
!function(n){var r={};function t(u){if(r[u])return r[u].exports;var e=r[u]={i:u,l:!1,exports:{}};return n[u].call(e.exports,e,e.exports,t),e.l=!0,e.exports}t.m=n,t.c=r,t.d=function(n,r,u){t.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:u})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,r){if(1&r&&(n=t(n)),8&r)return n;if(4&r&&"object"==typeof n&&n&&n.__esModule)return n;var u=Object.create(null);if(t.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:n}),2&r&&"string"!=typeof n)for(var e in n)t.d(u,e,function(r){return n[r]}.bind(null,e));return u},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},t.p="",t(t.s=0)}([function(n,r,t){n.exports=t(1)},function(n,r,t){const u=t(2).createInterface(process.stdin,{}),{Elm:e}=t(3),o=e.Worker.init();o.ports.cout.subscribe(n=>{console.log(n)}),u.on("line",n=>{o.ports.cin.send(n)})},function(n,r){n.exports=require("readline")},function(n,r){!function(n){"use strict";function r(n,r,t){return t.a=n,t.f=r,t}function t(n){return r(2,n,function(r){return function(t){return n(r,t)}})}function u(n){return r(3,n,function(r){return function(t){return function(u){return n(r,t,u)}}})}function e(n){return r(4,n,function(r){return function(t){return function(u){return function(e){return n(r,t,u,e)}}}})}function o(n){return r(5,n,function(r){return function(t){return function(u){return function(e){return function(o){return n(r,t,u,e,o)}}}}})}function f(n){return r(6,n,function(r){return function(t){return function(u){return function(e){return function(o){return function(f){return n(r,t,u,e,o,f)}}}}}})}function i(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function c(n,r,t,u){return 3===n.a?n.f(r,t,u):n(r)(t)(u)}function a(n,r,t,u,e){return 4===n.a?n.f(r,t,u,e):n(r)(t)(u)(e)}function v(n,r,t,u,e,o){return 5===n.a?n.f(r,t,u,e,o):n(r)(t)(u)(e)(o)}var b={$:0};function l(n,r){return{$:1,a:n,b:r}}var s=t(l);function h(n){for(var r=b,t=n.length;t--;)r=l(n[t],r);return r}function d(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}var g=u(function(n,r,t){for(var u=[];r.b&&t.b;r=r.b,t=t.b)u.push(i(n,r.a,t.a));return h(u)});e(function(n,r,t,u){for(var e=[];r.b&&t.b&&u.b;r=r.b,t=t.b,u=u.b)e.push(c(n,r.a,t.a,u.a));return h(e)}),o(function(n,r,t,u,e){for(var o=[];r.b&&t.b&&u.b&&e.b;r=r.b,t=t.b,u=u.b,e=e.b)o.push(a(n,r.a,t.a,u.a,e.a));return h(o)}),f(function(n,r,t,u,e,o){for(var f=[];r.b&&t.b&&u.b&&e.b&&o.b;r=r.b,t=t.b,u=u.b,e=e.b,o=o.b)f.push(v(n,r.a,t.a,u.a,e.a,o.a));return h(f)}),t(function(n,r){return h(d(r).sort(function(r,t){return y(n(r),n(t))}))}),t(function(n,r){return h(d(r).sort(function(r,t){var u=i(n,r,t);return u===jn?0:u===wn?-1:1}))});function p(n,r){for(var t,u=[],e=$(n,r,0,u);e&&(t=u.pop());e=$(t.a,t.b,0,u));return e}function $(n,r,t,u){if(t>100)return u.push(O(n,r)),!0;if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&C(5),!1;for(var e in n.$<0&&(n=Cn(n),r=Cn(r)),n)if(!$(n[e],r[e],t+1,u))return!1;return!0}t(p),t(function(n,r){return!p(n,r)});function y(n,r,t){if("object"!=typeof n)return n===r?0:n<r?-1:1;if(void 0===n.$)return(t=y(n.a,r.a))?t:(t=y(n.b,r.b))?t:y(n.c,r.c);for(;n.b&&r.b&&!(t=y(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}t(function(n,r){return y(n,r)<0}),t(function(n,r){return y(n,r)<1}),t(function(n,r){return y(n,r)>0}),t(function(n,r){return y(n,r)>=0}),t(function(n,r){var t=y(n,r);return t<0?wn:t?mn:jn});var A=0;function O(n,r){return{a:n,b:r}}function j(n){return n}t(m);function m(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t=l(n.a,r);n=n.b;for(var u=t;n.b;n=n.b)u=u.b=l(n.a,r);return t}var w=u(function(n,r,t){for(var u=new Array(n),e=0;e<n;e++)u[e]=t(r+e);return u}),M=t(function(n,r){for(var t=new Array(n),u=0;u<n&&r.b;u++)t[u]=r.a,r=r.b;return t.length=u,O(t,r)}),x=(t(function(n,r){return r[n]}),u(function(n,r,t){for(var u=t.length,e=new Array(u),o=0;o<u;o++)e[o]=t[o];return e[n]=r,e}),t(function(n,r){for(var t=r.length,u=new Array(t+1),e=0;e<t;e++)u[e]=r[e];return u[t]=n,u}),u(function(n,r,t){for(var u=t.length,e=0;e<u;e++)r=i(n,t[e],r);return r}),u(function(n,r,t){for(var u=t.length-1;u>=0;u--)r=i(n,t[u],r);return r}));t(function(n,r){for(var t=r.length,u=new Array(t),e=0;e<t;e++)u[e]=n(r[e]);return u}),u(function(n,r,t){for(var u=t.length,e=new Array(u),o=0;o<u;o++)e[o]=i(n,r+o,t[o]);return e}),u(function(n,r,t){return t.slice(n,r)}),u(function(n,r,t){var u=r.length,e=n-u;e>t.length&&(e=t.length);for(var o=new Array(u+e),f=0;f<u;f++)o[f]=r[f];for(f=0;f<e;f++)o[f+u]=t[f];return o}),t(function(n,r){return r}),t(function(n,r){return console.log(n+": <internals>"),r});function C(n){throw new Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}t(function(n,r){return n+r}),t(function(n,r){return n-r}),t(function(n,r){return n*r}),t(function(n,r){return n/r}),t(function(n,r){return n/r|0}),t(Math.pow),t(function(n,r){return r%n});var E=t(function(n,r){var t=r%n;return 0===n?C(11):t>0&&n<0||t<0&&n>0?t+n:t});Math.PI,Math.E,Math.cos,Math.sin,Math.tan,Math.acos,Math.asin,Math.atan,t(Math.atan2);var T=Math.ceil,N=Math.floor,S=(Math.round,Math.sqrt,Math.log);isNaN;t(function(n,r){return n&&r}),t(function(n,r){return n||r}),t(function(n,r){return n!==r});var P=t(function(n,r){return n+r});t(function(n,r){return n+r});t(function(n,r){for(var t=r.length,u=new Array(t),e=0;e<t;){var o=r.charCodeAt(e);55296<=o&&o<=56319?(u[e]=n(j(r[e]+r[e+1])),e+=2):(u[e]=n(j(r[e])),e++)}return u.join("")}),t(function(n,r){for(var t=[],u=r.length,e=0;e<u;){var o=r[e],f=r.charCodeAt(e);e++,55296<=f&&f<=56319&&(o+=r[e],e++),n(j(o))&&t.push(o)}return t.join("")});u(function(n,r,t){for(var u=t.length,e=0;e<u;){var o=t[e],f=t.charCodeAt(e);e++,55296<=f&&f<=56319&&(o+=t[e],e++),r=i(n,j(o),r)}return r}),u(function(n,r,t){for(var u=t.length;u--;){var e=t[u],o=t.charCodeAt(u);56320<=o&&o<=57343&&(e=t[--u]+e),r=i(n,j(e),r)}return r});var J=t(function(n,r){return r.split(n)}),I=t(function(n,r){return r.join(n)});u(function(n,r,t){return t.slice(n,r)});t(function(n,r){for(var t=r.length;t--;){var u=r[t],e=r.charCodeAt(t);if(56320<=e&&e<=57343&&(u=r[--t]+u),n(j(u)))return!0}return!1});var R=t(function(n,r){for(var t=r.length;t--;){var u=r[t],e=r.charCodeAt(t);if(56320<=e&&e<=57343&&(u=r[--t]+u),!n(j(u)))return!1}return!0});t(function(n,r){return r.indexOf(n)>-1}),t(function(n,r){return 0===r.indexOf(n)}),t(function(n,r){return r.length>=n.length&&r.lastIndexOf(n)===r.length-n.length}),t(function(n,r){var t=n.length;if(t<1)return b;for(var u=0,e=[];(u=r.indexOf(n,u))>-1;)e.push(u),u+=t;return h(e)});function L(n){return{$:2,b:n}}L(function(n){return"number"!=typeof n?W("an INT",n):-2147483647<n&&n<2147483647&&(0|n)===n?Un(n):!isFinite(n)||n%1?W("an INT",n):Un(n)}),L(function(n){return"boolean"==typeof n?Un(n):W("a BOOL",n)}),L(function(n){return"number"==typeof n?Un(n):W("a FLOAT",n)}),L(function(n){return Un(H(n))});var _=L(function(n){return"string"==typeof n?Un(n):n instanceof String?Un(n+""):W("a STRING",n)});t(function(n,r){return{$:6,d:n,b:r}}),t(function(n,r){return{$:7,e:n,b:r}});function B(n,r){return{$:9,f:n,g:r}}t(function(n,r){return{$:10,b:r,h:n}});t(function(n,r){return B(n,[r])}),u(function(n,r,t){return B(n,[r,t])}),e(function(n,r,t,u){return B(n,[r,t,u])}),o(function(n,r,t,u,e){return B(n,[r,t,u,e])}),f(function(n,r,t,u,e,o){return B(n,[r,t,u,e,o])}),r(7,k=function(n,r,t,u,e,o,f){return B(n,[r,t,u,e,o,f])},function(n){return function(r){return function(t){return function(u){return function(e){return function(o){return function(f){return k(n,r,t,u,e,o,f)}}}}}}}),function(n){r(8,n,function(r){return function(t){return function(u){return function(e){return function(o){return function(f){return function(i){return function(c){return n(r,t,u,e,o,f,i,c)}}}}}}}})}(function(n,r,t,u,e,o,f,i){return B(n,[r,t,u,e,o,f,i])}),function(n){r(9,n,function(r){return function(t){return function(u){return function(e){return function(o){return function(f){return function(i){return function(c){return function(a){return n(r,t,u,e,o,f,i,c,a)}}}}}}}}})}(function(n,r,t,u,e,o,f,i,c){return B(n,[r,t,u,e,o,f,i,c])}),t(function(n,r){try{return F(n,JSON.parse(r))}catch(n){return Qn(i(Vn,"This is not valid JSON! "+n.message,H(r)))}});var k,q=t(function(n,r){return F(n,K(r))});function F(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?Un(n.c):W("null",r);case 3:return z(r)?D(n.b,r,h):W("a LIST",r);case 4:return z(r)?D(n.b,r,G):W("an ARRAY",r);case 6:var t=n.d;if("object"!=typeof r||null===r||!(t in r))return W("an OBJECT with a field named `"+t+"`",r);var u=F(n.b,r[t]);return On(u)?u:Qn(i(Xn,t,u.a));case 7:var e=n.e;if(!z(r))return W("an ARRAY",r);if(e>=r.length)return W("a LONGER array. Need index "+e+" but only see "+r.length+" entries",r);u=F(n.b,r[e]);return On(u)?u:Qn(i(Zn,e,u.a));case 8:if("object"!=typeof r||null===r||z(r))return W("an OBJECT",r);var o=b;for(var f in r)if(r.hasOwnProperty(f)){u=F(n.b,r[f]);if(!On(u))return Qn(i(Xn,f,u.a));o=l(O(f,u.a),o)}return Un(_n(o));case 9:for(var c=n.f,a=n.g,v=0;v<a.length;v++){u=F(a[v],r);if(!On(u))return u;c=c(u.a)}return Un(c);case 10:u=F(n.b,r);return On(u)?F(n.h(u.a),r):u;case 11:for(var s=b,d=n.g;d.b;d=d.b){u=F(d.a,r);if(On(u))return u;s=l(u.a,s)}return Qn(nr(_n(s)));case 1:return Qn(i(Vn,n.a,H(r)));case 0:return Un(n.a)}}function D(n,r,t){for(var u=r.length,e=new Array(u),o=0;o<u;o++){var f=F(n,r[o]);if(!On(f))return Qn(i(Zn,o,f.a));e[o]=f.a}return Un(t(e))}function z(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function G(n){return i(Yn,n.length,function(r){return n[r]})}function W(n,r){return Qn(i(Vn,"Expecting "+n,H(r)))}var Y=t(function(n,r){return JSON.stringify(K(r),null,n)+""});function H(n){return n}function K(n){return n}u(function(n,r,t){return t[n]=K(r),t});H(null);function Q(n){return{$:0,a:n}}function U(n){return{$:2,b:n,c:null}}var V=t(function(n,r){return{$:3,b:n,d:r}});t(function(n,r){return{$:4,b:n,d:r}});var X=0;function Z(n){var r={$:0,e:X++,f:n,g:null,h:[]};return en(r),r}function nn(n,r){n.h.push(r),en(n)}var rn=t(function(n,r){return U(function(t){nn(n,r),t(Q(A))})});var tn=!1,un=[];function en(n){if(un.push(n),!tn){for(tn=!0;n=un.shift();)on(n);tn=!1}}function on(n){for(;n.f;){var r=n.f.$;if(0===r||1===r){for(;n.g&&n.g.$!==r;)n.g=n.g.i;if(!n.g)return;n.f=n.g.b(n.f.a),n.g=n.g.i}else{if(2===r)return void(n.f.c=n.f.b(function(r){n.f=r,en(n)}));if(5===r){if(0===n.h.length)return;n.f=n.f.b(n.h.shift())}else n.g={$:3===r?0:1,b:n.f.b,i:n.g},n.f=n.f.d}}}var fn=e(function(n,r,t,u){return function(n,r,t,u,e,o){var f=i(q,n,H(r?r.flags:void 0));On(f)||C(2);var c={},a=(f=t(f.a)).a,v=o(l,a),b=function(n,r){var t;for(var u in cn){var e=cn[u];e.a&&((t=t||{})[u]=e.a(u,r)),n[u]=an(e,r)}return t}(c,l);function l(n,r){f=i(u,n,a),v(a=f.a,r),bn(c,f.b,e(a))}return bn(c,f.b,e(a)),b?{ports:b}:{}}(r,u,n.at,n.aB,n.az,function(){return function(){}})});var cn={};function an(n,r){var t={g:r,h:void 0},u=n.c,e=n.d,o=n.e,f=n.f;return t.h=Z(i(V,function n(r){return i(V,n,{$:5,b:function(n){var i=n.a;return 0===n.$?c(e,t,i,r):o&&f?a(u,t,i.i,i.j,r):c(u,t,o?i.i:i.j,r)}})},n.b))}t(function(n,r){return U(function(t){n.g(r),t(Q(A))})}),t(function(n,r){return i(rn,n.h,{$:0,a:r})});function vn(n){return function(r){return{$:1,k:n,l:r}}}t(function(n,r){return{$:3,n:n,o:r}});function bn(n,r,t){var u={};for(var e in ln(!0,r,u,null),ln(!1,t,u,null),n)nn(n[e],{$:"fx",a:u[e]||{i:b,j:b}})}function ln(n,r,t,u){switch(r.$){case 1:var e=r.k,o=function(n,r,t,u){return i(n?cn[r].e:cn[r].f,function(n){for(var r=t;r;r=r.q)n=r.p(n);return n},u)}(n,e,u,r.l);return void(t[e]=function(n,r,t){return t=t||{i:b,j:b},n?t.i=l(r,t.i):t.j=l(r,t.j),t}(n,o,t[e]));case 2:for(var f=r.m;f.b;f=f.b)ln(n,f.a,t,u);return;case 3:return void ln(n,r.o,t,{p:r.n,q:u})}}function sn(n){cn[n]&&C(3)}var hn=t(function(n,r){return r});function dn(n){var r,t=[],e=cn[n].r,o=(r=0,U(function(n){var t=setTimeout(function(){n(Q(A))},r);return function(){clearTimeout(t)}}));return cn[n].b=o,cn[n].c=u(function(n,r,u){for(;r.b;r=r.b)for(var f=t,i=K(e(r.a)),c=0;c<f.length;c++)f[c](i);return o}),{subscribe:function(n){t.push(n)},unsubscribe:function(n){var r=(t=t.slice()).indexOf(n);r>=0&&t.splice(r,1)}}}var gn=t(function(n,r){return function(t){return n(r(t))}});function pn(n,r){var t=b,e=cn[n].r,o=Q(null);return cn[n].b=o,cn[n].c=u(function(n,r,u){return t=r,o}),{send:function(n){var u=i(q,e,H(n));On(u)||C(4,u.a);for(var o=u.a,f=t;f.b;f=f.b)r(f.a(o))}}}t(function(n,r){return n&r}),t(function(n,r){return n|r}),t(function(n,r){return n^r});t(function(n,r){return r<<n}),t(function(n,r){return r>>n}),t(function(n,r){return r>>>n});var $n,yn,An,On=function(n){return!n.$},jn=1,mn=2,wn=0,Mn=u(function(n,r,t){for(;;){if(-2===t.$)return r;var u=t.b,e=t.c,o=t.d,f=t.e,i=n,a=c(n,u,e,c(Mn,n,r,f));n=i,r=a,t=o}}),xn=s,Cn=function(n){return c(Mn,u(function(n,r,t){return i(xn,O(n,r),t)}),b,n)},En=x,Tn=(u(function(n,r,u){var e=u.c,o=u.d,f=t(function(r,t){if(r.$){var u=r.a;return c(En,n,t,u)}var e=r.a;return c(En,f,t,e)});return c(En,f,c(En,n,r,o),e)}),e(function(n,r,t,u){return{$:0,a:n,b:r,c:t,d:u}})),Nn=T,Sn=t(function(n,r){return S(r)/S(n)}),Pn=Nn(i(Sn,2,32)),Jn=[],In=a(Tn,0,Pn,Jn,Jn),Rn=M,Ln=u(function(n,r,t){for(;;){if(!t.b)return r;var u=t.a,e=t.b,o=n,f=i(n,u,r);n=o,r=f,t=e}}),_n=function(n){return c(Ln,xn,b,n)},Bn=t(function(n,r){for(;;){var t=i(Rn,32,n),u=t.a,e=t.b,o=i(xn,{$:0,a:u},r);if(!e.b)return _n(o);n=e,r=o}}),kn=(t(function(n,r){return r(n)}),t(function(n,r){for(;;){var t=Nn(r/32);if(1===t)return i(Rn,32,n).a;n=i(Bn,n,b),r=t}})),qn=(t(function(n,r){return n(r)}),N),Fn=t(function(n,r){return y(n,r)>0?n:r}),Dn=function(n){return n.length},zn=t(function(n,r){if(r.a){var t=32*r.a,u=qn(i(Sn,32,t-1)),e=n?_n(r.d):r.d,o=i(kn,e,r.a);return a(Tn,Dn(r.c)+t,i(Fn,5,u*Pn),o,r.c)}return a(Tn,Dn(r.c),Pn,Jn,r.c)}),Gn=w,Wn=o(function(n,r,t,u,e){for(;;){if(r<0)return i(zn,!1,{d:u,a:t/32|0,c:e});var o={$:1,a:c(Gn,32,r,n)};n=n,r=r-32,t=t,u=i(xn,o,u),e=e}}),Yn=t(function(n,r){if(n<=0)return In;var t=n%32,u=c(Gn,t,n-t,r);return v(Wn,r,n-t-32,n,b,u)}),Hn=function(n){return{$:0,a:n}},Kn={$:1},Qn=function(n){return{$:1,a:n}},Un=function(n){return{$:0,a:n}},Vn=t(function(n,r){return{$:3,a:n,b:r}}),Xn=t(function(n,r){return{$:0,a:n,b:r}}),Zn=t(function(n,r){return{$:1,a:n,b:r}}),nr=function(n){return{$:2,a:n}},rr=function(n){var r=n.charCodeAt(0);return 55296<=r&&r<=56319?1024*(r-55296)+n.charCodeAt(1)-56320+65536:r},tr=function(n){var r=rr(n);return 97<=r&&r<=122},ur=function(n){var r=rr(n);return r<=90&&65<=r},er=function(n){return tr(n)||ur(n)},or=function(n){return tr(n)||ur(n)||function(n){var r=rr(n);return r<=57&&48<=r}(n)},fr=function(n){return c(Ln,t(function(n,r){return r+1}),0,n)},ir=g,cr=u(function(n,r,t){for(;;){if(!(y(n,r)<1))return t;var u=n,e=r-1,o=i(xn,r,t);n=u,r=e,t=o}}),ar=t(function(n,r){return c(cr,n,r,b)}),vr=t(function(n,r){return c(ir,n,i(ar,0,fr(r)-1),r)}),br=R,lr=function(n){return n+""},sr=t(function(n,r){return i(I,n,d(r))}),hr=function(n){var r=n.charCodeAt(0);return r?Hn(55296<=r&&r<=56319?O(j(n[0]+n[1]),n.slice(2)):O(j(n[0]),n.slice(1))):Kn},dr=t(function(n,r){return h(i(J,n,r))}),gr=function(n){return i(sr,"\n ",i(dr,"\n",n))},pr=Y,$r=t(function(n,r){return"\n\n("+lr(n+1)+") "+gr(yr(r))}),yr=function(n){return i(Ar,n,b)},Ar=t(function(n,r){n:for(;;)switch(n.$){case 0:var t=n.a,u=n.b,e=function(){var n=hr(t);if(1===n.$)return!1;var r=n.a,u=r.a,e=r.b;return er(u)&&i(br,or,e)}(),o=u,f=i(xn,e?"."+t:"['"+t+"']",r);n=o,r=f;continue n;case 1:var c=n.a,a=(u=n.b,"["+lr(c)+"]");o=u,f=i(xn,a,r);n=o,r=f;continue n;case 2:var v=n.a;if(v.b){if(v.b.b){var b=(r.b?"The Json.Decode.oneOf at json"+i(sr,"",_n(r)):"Json.Decode.oneOf")+" failed in the following "+lr(fr(v))+" ways:";return i(sr,"\n\n",i(xn,b,i(vr,$r,v)))}n=o=u=v.a,r=f=r;continue n}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+i(sr,"",_n(r)):"!");default:var l=n.a,s=n.b;return(b=r.b?"Problem with the value at json"+i(sr,"",_n(r))+":\n\n ":"Problem with the given value:\n\n")+(gr(i(pr,4,s))+"\n\n")+l}}),Or=O({N:"",E:0},function(n){return{$:2,m:n}}(b)),jr=t(function(n,r){return{$:0,a:n,b:r}}),mr=(yn=_,sn($n="cin"),cn[$n]={f:gn,r:yn,a:pn},vn($n)),wr=function(n,r){return sn(n),cn[n]={e:hn,r:r,a:dn},vn(n)}("cout",H),Mr=E,xr=function(n){if(n.b){var r=n.a;n.b;return Hn(r)}return Kn},Cr=t(function(n,r){return r.$?Kn:n(r.a)}),Er=t(function(n,r){return r.$?n:r.a}),Tr=P,Nr=function(n){return n.length},Sr=u(function(n,r,t){return n<=0?t:c(Sr,n>>1,m(r,r),1&n?m(t,r):t)}),Pr=t(function(n,r){return c(Sr,n,r,"")}),Jr=u(function(n,r,t){return m(i(Pr,n-Nr(t),function(n){return i(Tr,n,"")}(r)),t)}),Ir=function(n){for(var r=0,t=n.charCodeAt(0),u=43==t||45==t?1:0,e=u;e<n.length;++e){var o=n.charCodeAt(e);if(o<48||57<o)return Kn;r=10*r+o-48}return e==u?Kn:Hn(45==t?-r:r)},Rr=function(n){return{$:0,a:n}},Lr=fn({at:function(n){return Or},az:function(n){return mr(jr(n.E))},aB:t(function(n,r){var t=n.a,u=n.b,e=i(Er,0,i(Cr,Ir,xr(_n(i(dr,":",u))))),o=60*i(Er,0,i(Cr,Ir,xr(i(dr,":",u))))+1*e+5,f=function(n){return c(Jr,2,"0",lr(n))},a=i(Mr,60,o),v=i(Mr,24,o/60|0);return O(function(n,r){var t={};for(var u in n)t[u]=n[u];for(var u in r)t[u]=r[u];return t}(r,{E:t+1}),wr(f(v)+":"+f(a)))})});An={Worker:{init:Lr(Rr(0))(0)}},n.Elm?function n(r,t){for(var u in t)u in r?"init"==u?C(6):n(r[u],t[u]):r[u]=t[u]}(n.Elm,An):n.Elm=An}(this)}]);