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 listApr 10, 2024 02:26Steve BronderSteve BronderScore: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 02:265,64335,306,75316,053,0002,006,0002,510,848
2Apr 10, 2024 02:265,64739,426,07216,063,0002,007,0002,502,656
3Apr 10, 2024 02:265,65240,983,96916,076,0002,009,0002,514,944
4Apr 10, 2024 02:265,65243,051,79416,076,0002,009,0002,510,848
5Apr 10, 2024 02:265,65341,027,96716,080,0002,010,0002,293,760
6Apr 10, 2024 02:265,66745,406,52617,128,0001,007,0002,293,760
7Apr 10, 2024 02:265,67345,158,77117,144,0001,008,0002,293,760
8Apr 10, 2024 02:265,67940,376,97316,155,0002,019,0002,293,760
9Apr 10, 2024 02:265,68645,345,84416,175,0002,021,0002,293,760
10Apr 10, 2024 02:265,86394,204,08018,760,17002,277,376
11Apr 10, 2024 02:265,88784,072,84218,839,59302,281,472
12Apr 10, 2024 02:265,88989,345,44318,843,25702,285,568