Submission #8899044
Source Code Expand
module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){"use strict";var n=r(1);r(2)(n.readFileSync("/dev/stdin","utf8"))},function(t,e){t.exports=require("fs")},function(t,e,r){"use strict";var n=r(3),i=r(5);t.exports=function(t){var e=new n(t);i(e)}},function(t,e,r){"use strict";var n=r(4);t.exports=class{constructor(t){var e=t.trim().split(/\s+/g);this.inp=new n(e)}inr(){return this.inp.deq()}in(){return parseInt(this.inp.deq(),10)}fin(){this.inp.clear()}}},function(t,e,r){"use strict";t.exports=class{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.size=t.length,this.items=t,this.ind=0}enq(t){this.size+=1,this.items.push(t)}deq(){var t=this.items[this.ind];return this.size-=1,this.ind+=1,t}clear(){this.items=[],this.size=0,this.ind=0}}},function(t,e,r){"use strict";t.exports=function(t){for(var e=t.inr().split("+"),r=e.length,n=0,i=0;i<r;i++){var s=e[i];if(1==s.length)"0"!=s&&n++;else{for(var o=!1,u=0;u<s.length;u++)if("0"==s[u]){o=!0;break}o||n++}}console.log(n)}}]);
Submission Info
Submission Time |
|
Task |
C - 数式の書き換え |
User |
irohasu555 |
Language |
JavaScript (node.js v5.12) |
Score |
100 |
Code Size |
1913 Byte |
Status |
AC |
Exec Time |
200 ms |
Memory |
21064 KB |
Judge Result
Set Name |
sample |
All |
Score / Max Score |
0 / 0 |
100 / 100 |
Status |
|
|
Set Name |
Test Cases |
sample |
sample-01.txt, sample-02.txt, sample-03.txt |
All |
00.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 20.txt, 21.txt, 22.txt, 23.txt, 24.txt, 25.txt, 26.txt, 27.txt, 28.txt, 29.txt, 30.txt, 31.txt, 32.txt, 33.txt, 34.txt, 35.txt, 36.txt, 37.txt, 38.txt, 39.txt, sample-01.txt, sample-02.txt, sample-03.txt, sample-01.txt, sample-02.txt, sample-03.txt |
Case Name |
Status |
Exec Time |
Memory |
00.txt |
AC |
200 ms |
21064 KB |
01.txt |
AC |
52 ms |
7372 KB |
02.txt |
AC |
53 ms |
7372 KB |
03.txt |
AC |
53 ms |
7372 KB |
04.txt |
AC |
52 ms |
7372 KB |
05.txt |
AC |
53 ms |
7372 KB |
06.txt |
AC |
52 ms |
7372 KB |
07.txt |
AC |
53 ms |
7372 KB |
08.txt |
AC |
52 ms |
7372 KB |
09.txt |
AC |
52 ms |
7372 KB |
10.txt |
AC |
52 ms |
7372 KB |
11.txt |
AC |
52 ms |
7372 KB |
12.txt |
AC |
52 ms |
7372 KB |
13.txt |
AC |
52 ms |
7372 KB |
14.txt |
AC |
52 ms |
7372 KB |
15.txt |
AC |
52 ms |
7372 KB |
16.txt |
AC |
53 ms |
7372 KB |
17.txt |
AC |
55 ms |
7628 KB |
18.txt |
AC |
53 ms |
7372 KB |
19.txt |
AC |
55 ms |
7628 KB |
20.txt |
AC |
54 ms |
7628 KB |
21.txt |
AC |
55 ms |
7500 KB |
22.txt |
AC |
53 ms |
7372 KB |
23.txt |
AC |
55 ms |
7500 KB |
24.txt |
AC |
55 ms |
7628 KB |
25.txt |
AC |
55 ms |
7628 KB |
26.txt |
AC |
55 ms |
11596 KB |
27.txt |
AC |
52 ms |
7372 KB |
28.txt |
AC |
55 ms |
7500 KB |
29.txt |
AC |
55 ms |
7628 KB |
30.txt |
AC |
55 ms |
7628 KB |
31.txt |
AC |
55 ms |
7500 KB |
32.txt |
AC |
52 ms |
7372 KB |
33.txt |
AC |
54 ms |
7500 KB |
34.txt |
AC |
55 ms |
7628 KB |
35.txt |
AC |
55 ms |
7628 KB |
36.txt |
AC |
55 ms |
7500 KB |
37.txt |
AC |
54 ms |
7500 KB |
38.txt |
AC |
55 ms |
7628 KB |
39.txt |
AC |
56 ms |
11596 KB |
sample-01.txt |
AC |
52 ms |
7372 KB |
sample-02.txt |
AC |
52 ms |
7372 KB |
sample-03.txt |
AC |
52 ms |
7372 KB |