Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 3, 2021 16:01Yuriy LyfenkoYuriy LyfenkoScore: 5,046Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:054,995545,216,01314,986,000999,0002,273,280
2Jun 3, 2021 16:054,995540,207,34413,986,0001,998,0002,273,280
3Jun 3, 2021 16:054,996542,298,64113,989,0001,998,0002,281,472
4Jun 3, 2021 16:024,997541,338,14113,992,0001,998,0002,273,280
5Jun 3, 2021 16:024,998542,120,22813,994,0001,999,0002,273,280
6Jun 3, 2021 16:024,999539,857,97013,998,0001,999,0002,273,280
7Jun 3, 2021 16:024,999539,136,64814,997,000999,0002,273,280
8Jun 3, 2021 16:054,999539,054,28314,998,000999,0002,273,280
9Jun 3, 2021 16:055,001540,630,30014,004,0002,000,0002,281,472
10Jun 3, 2021 16:025,003540,178,65515,010,0001,000,0002,408,448
11Jun 3, 2021 16:025,005537,199,71015,015,0001,001,0002,412,544
12Jun 3, 2021 16:025,023540,252,10815,068,0001,004,0002,273,280
13Jun 3, 2021 16:015,032538,994,03614,090,0002,012,0002,281,472
14Jun 3, 2021 16:055,033538,978,72215,100,0001,006,0002,273,280
15Jun 3, 2021 16:025,034542,856,94114,096,0002,013,0002,281,472
16Jun 3, 2021 16:055,044538,184,47414,125,0002,017,0002,281,472
17Jun 3, 2021 16:055,044542,090,57815,134,0001,008,0002,273,280
18Jun 3, 2021 16:015,046538,529,90115,137,0001,009,0002,281,472
19Jun 3, 2021 16:015,046547,763,78015,138,0001,009,0002,273,280
20Jun 3, 2021 16:055,048539,270,46815,146,0001,009,0002,404,352
21Jun 3, 2021 16:015,062538,777,09815,186,0001,012,0002,281,472
22Jun 3, 2021 16:025,063539,275,07016,201,00002,273,280
23Jun 3, 2021 16:015,066539,642,26114,185,0002,026,0002,273,280
24Jun 3, 2021 16:015,074542,034,02114,209,0002,029,0002,273,280
25Jun 3, 2021 16:015,094538,655,13015,284,0001,018,0002,273,280
26Jun 3, 2021 16:015,097539,416,60116,311,00002,273,280
27Jun 3, 2021 16:015,100540,491,37716,319,00002,281,472
28Jun 3, 2021 16:055,140574,375,57716,447,36702,285,568
29Jun 3, 2021 16:025,140573,118,12816,448,10402,293,760
30Jun 3, 2021 16:025,145589,829,98216,462,60702,256,896
31Jun 3, 2021 16:055,151578,403,32516,484,52002,293,760
32Jun 3, 2021 16:055,170579,529,80816,543,03102,256,896
33Jun 3, 2021 16:025,181579,261,64216,578,11702,289,664
34Jun 3, 2021 16:015,182566,971,05916,582,17902,256,896
35Jun 3, 2021 16:015,194577,756,95016,620,52502,293,760
36Jun 3, 2021 16:015,230578,049,05116,735,22902,289,664