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 listSep 4, 2021 22:08Andrey TsvetkovAndrey TsvetkovScore: 5,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:085,58242,069,24315,877,0001,984,0002,433,024
2Sep 4, 2021 22:085,60945,910,39415,955,0001,994,0002,289,664
3Sep 4, 2021 22:085,61134,357,84416,959,000997,0002,289,664
4Sep 4, 2021 22:085,61744,752,57115,978,0001,997,0002,437,120
5Sep 4, 2021 22:085,62140,621,66315,988,0001,998,0002,433,024
6Sep 4, 2021 22:085,62544,325,39716,001,0002,000,0002,428,928
7Sep 4, 2021 22:085,62743,721,57117,005,0001,000,0002,347,008
8Sep 4, 2021 22:085,63245,868,81417,021,0001,001,0002,347,008
9Sep 4, 2021 22:085,64886,066,45018,072,83602,277,376
10Sep 4, 2021 22:085,66640,492,60916,118,0002,014,0002,342,912
11Sep 4, 2021 22:085,68785,673,54618,199,03202,281,472
12Sep 4, 2021 22:085,80383,672,44218,569,22102,260,992