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:00Yuriy LyfenkoYuriy LyfenkoScore: 5,069Success
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:005,026536,067,80615,078,0001,005,0002,281,472
2Jun 3, 2021 16:005,027542,850,41114,076,0002,010,0002,273,280
3Jun 3, 2021 16:005,043537,708,02514,122,0002,017,0002,273,280
4Jun 3, 2021 16:005,053541,669,73615,161,0001,010,0002,281,472
5Jun 3, 2021 16:005,062539,048,05414,173,0002,024,0002,281,472
6Jun 3, 2021 16:005,062547,624,73115,185,0001,012,0002,281,472
7Jun 3, 2021 16:005,069543,286,33015,209,0001,013,0002,281,472
8Jun 3, 2021 16:005,085541,164,94216,272,00002,412,544
9Jun 3, 2021 16:005,100551,614,39516,321,00002,273,280
10Jun 3, 2021 16:005,171573,934,85416,548,30102,252,800
11Jun 3, 2021 16:005,180579,877,96016,575,47802,252,800
12Jun 3, 2021 16:005,215577,374,99316,689,51502,252,800