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 7, 2021 07:01Artur MogozovArtur MogozovScore: 798,870Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2021 07:01798,2582,610,019,8862,554,426,49102,244,608
2Sep 7, 2021 07:01798,8702,619,422,1032,556,385,38302,236,416
3Sep 7, 2021 07:01799,3232,611,133,5852,557,833,42902,240,512