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 listFeb 8, 2022 22:36MansurMansurScore: 10,821Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2022 23:1410,807104,900,09934,581,45502,174,976
2Jan 15, 2022 23:1510,81598,138,84834,606,81102,301,952
3Jan 15, 2022 23:1510,81692,707,54334,612,67802,289,664
4Jan 15, 2022 23:1410,81899,786,78434,618,82602,301,952
5Feb 8, 2022 22:3610,82192,148,80934,628,76802,297,856
6Feb 8, 2022 22:3610,83188,998,85734,659,08302,297,856
7Jan 15, 2022 23:1410,83896,783,41934,681,88202,179,072
8Jan 15, 2022 23:1510,838110,803,58934,680,84302,297,856
9Feb 8, 2022 22:3610,849124,767,54134,715,75402,297,856