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 listMay 19, 2021 23:18POCCOMAXAPOCCOMAXAScore: 2,515,636Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:182,512,5358,106,032,5248,040,110,93602,265,088
2May 19, 2021 23:182,512,9838,104,275,4648,041,544,14002,260,992
3May 19, 2021 23:182,514,3038,099,456,2488,045,770,36002,260,992
4May 19, 2021 23:182,515,6368,110,575,3228,050,036,74902,256,896
5May 19, 2021 23:182,529,8088,155,849,7088,095,385,88202,252,800
6May 19, 2021 23:182,532,3528,165,805,9668,103,526,78702,244,608