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 listNov 17, 2024 20:04ndbnndbnScore: 5,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 17, 2024 20:045,47841,007,46117,528,00002,482,176
2Nov 17, 2024 20:045,49235,559,16016,540,0001,033,0002,281,472
3Nov 17, 2024 20:045,58040,531,06316,865,000992,0002,490,368