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 11, 2021 14:02Andrey TsvetkovAndrey TsvetkovScore: 67,921Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 14:0267,891280,272,743217,250,88102,224,128
2May 11, 2021 14:0267,921292,918,608217,347,19002,232,320
3May 11, 2021 14:0267,922270,068,312217,349,17002,224,128