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 2, 2021 21:48Yuriy LyfenkoYuriy LyfenkoScore: 5,026Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 21:484,995540,269,52514,986,000999,0002,273,280
2Jun 2, 2021 21:485,005537,406,91114,015,0002,002,0002,273,280
3Jun 2, 2021 21:485,009542,296,59615,028,0001,001,0002,281,472
4Jun 2, 2021 21:485,023539,979,55815,069,0001,004,0002,273,280
5Jun 2, 2021 21:485,023542,734,38215,070,0001,004,0002,281,472
6Jun 2, 2021 21:485,024541,671,00615,072,0001,004,0002,281,472
7Jun 2, 2021 21:485,026537,552,85315,078,0001,005,0002,281,472
8Jun 2, 2021 21:485,054546,590,76915,162,0001,010,0002,273,280
9Jun 2, 2021 21:485,062545,557,28514,173,0002,024,0002,273,280
10Jun 2, 2021 21:485,154571,082,21316,492,38602,281,472
11Jun 2, 2021 21:485,158569,642,83616,504,29402,293,760
12Jun 2, 2021 21:485,185578,980,66716,591,45402,252,800