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 18:11Mikhail DektyarevMikhail DektyarevScore: 8,579Success
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 18:578,53889,224,67027,321,60802,277,376
2May 11, 2021 18:118,53998,562,52027,323,76702,281,472
3May 11, 2021 18:118,57690,398,62627,444,56302,273,280
4May 11, 2021 18:578,57793,163,18027,446,18802,211,840
5May 11, 2021 18:578,579101,455,87327,452,27602,273,280
6May 11, 2021 18:118,58494,436,14427,468,34302,277,376
7May 11, 2021 18:118,594102,072,40627,499,89602,285,568
8May 11, 2021 18:118,60998,533,65227,549,56602,285,568
9May 11, 2021 18:118,66069,875,84727,713,09002,285,568