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 13, 2021 19:04Yuriy LyfenkoYuriy LyfenkoScore: 5,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:045,646541,740,76015,056,0003,011,0002,334,720
2Jul 13, 2021 19:045,657545,161,81515,085,0003,017,0002,330,624
3Jul 13, 2021 19:045,660548,114,08015,094,0003,018,0002,330,624
4Jul 13, 2021 19:045,666538,291,10516,118,0002,014,0002,330,624
5Jul 13, 2021 19:045,670544,361,61316,129,0002,016,0002,334,720
6Jul 13, 2021 19:045,678546,586,19815,142,0003,028,0002,330,624
7Jul 13, 2021 19:045,679542,064,63716,153,0002,019,0002,523,136
8Jul 13, 2021 19:045,706541,436,30715,215,0003,043,0002,330,624
9Jul 13, 2021 19:045,707573,172,03618,261,11702,256,896
10Jul 13, 2021 19:045,716541,352,94717,275,0001,016,0002,334,720
11Jul 13, 2021 19:045,732582,751,40218,341,45302,232,320
12Jul 13, 2021 19:045,760573,876,36018,432,58202,228,224