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:27Yuriy LyfenkoYuriy LyfenkoScore: 5,030Success
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:274,979740,832,87013,942,0001,991,0002,273,280
2Jun 3, 2021 16:274,994740,361,32213,983,0001,997,0002,273,280
3Jun 3, 2021 16:275,001737,410,05514,003,0002,000,0002,404,352
4Jun 3, 2021 16:275,009742,354,87114,027,0002,003,0002,404,352
5Jun 3, 2021 16:275,010739,042,47615,030,0001,002,0002,273,280
6Jun 3, 2021 16:275,030737,751,77014,085,0002,012,0002,281,472
7Jun 3, 2021 16:275,030741,658,20615,091,0001,006,0002,281,472
8Jun 3, 2021 16:275,038740,157,10415,114,0001,007,0002,273,280
9Jun 3, 2021 16:275,039742,107,05015,118,0001,007,0002,281,472
10Jun 3, 2021 16:275,141775,514,42416,451,04702,252,800
11Jun 3, 2021 16:275,160780,484,58716,510,78802,293,760
12Jun 3, 2021 16:275,179766,896,39316,573,08602,297,856