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 listAug 21, 2021 17:06Yuriy LyfenkoYuriy LyfenkoScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2021 17:064,620541,029,09912,814,0001,971,0002,289,664
2Aug 21, 2021 17:064,621540,629,80712,817,0001,971,0002,281,472
3Jun 12, 2024 02:484,630544,110,50412,840,0001,975,0002,285,568
4Jun 12, 2024 02:484,630538,357,75913,829,000987,0002,289,664
5Jun 12, 2024 02:484,634538,143,38512,852,0001,977,0002,285,568
6Jun 12, 2024 02:484,636537,791,54712,857,0001,978,0002,281,472
7Jun 12, 2024 02:484,639541,438,17812,867,0001,979,0002,285,568
8Aug 21, 2021 17:064,640536,652,65813,859,000989,0002,281,472
9Jun 12, 2024 02:484,642548,221,56112,874,0001,980,0002,289,664
10Aug 21, 2021 17:064,643534,335,68212,878,0001,981,0002,281,472
11Aug 21, 2021 17:064,644539,008,70713,872,000990,0002,281,472
12Jun 12, 2024 02:484,647541,042,31512,888,0001,982,0002,281,472
13Aug 21, 2021 17:064,648538,590,78212,890,0001,983,0002,285,568
14Jun 12, 2024 02:484,649537,963,41812,894,0001,983,0002,281,472
15Aug 21, 2021 17:064,649538,432,68312,894,0001,983,0002,281,472
16Aug 21, 2021 17:064,650537,407,79712,896,0001,984,0002,281,472
17Jun 12, 2024 02:484,663542,240,60712,932,0001,989,0002,281,472
18Aug 21, 2021 17:064,670538,372,09412,953,0001,992,0002,281,472
19Aug 21, 2021 17:064,766581,660,05315,252,64202,256,896
20Aug 21, 2021 17:064,766587,809,81415,251,85202,289,664
21Aug 21, 2021 17:064,785584,555,84815,312,93702,174,976
22Jun 12, 2024 02:484,800576,512,82415,358,76802,174,976
23Jun 12, 2024 02:484,823576,702,67015,434,19902,297,856
24Jun 12, 2024 02:484,855575,213,82115,536,27802,310,144