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 listJul 23, 2021 20:42Adam FolwarcznyAdam FolwarcznyScore: 5,591Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2021 20:425,58143,423,28516,808,0001,050,0002,387,968
2Jul 23, 2021 20:425,58344,034,80116,874,000992,0002,392,064
3Jul 23, 2021 20:425,58334,668,19715,881,0001,985,0002,383,872
4Jul 23, 2021 20:425,58742,835,53415,891,0001,986,0002,392,064
5Jul 23, 2021 20:425,58844,898,27416,888,000993,0002,265,088
6Jul 23, 2021 20:425,59042,609,90615,901,0001,987,0002,265,088
7Jul 23, 2021 20:425,59133,191,68716,897,000993,0002,265,088
8Jul 23, 2021 20:425,59642,407,37615,917,0001,989,0002,387,968
9Jul 23, 2021 20:425,62443,193,49015,999,0001,999,0002,265,088
10Jul 23, 2021 20:425,90174,997,26218,882,07202,273,280
11Jul 23, 2021 20:425,92091,841,48718,943,72202,293,760
12Jul 23, 2021 20:425,98875,017,26919,162,27802,273,280