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 15, 2021 19:27alex3dalex3dScore: 11,831Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:2611,787113,213,41737,718,81202,191,360
2May 15, 2021 19:2711,79496,445,34437,739,41002,195,456
3May 15, 2021 19:2611,82594,005,01837,839,05802,199,552
4May 15, 2021 19:2711,82994,877,78137,853,57002,191,360
5May 15, 2021 19:2711,831103,515,59537,860,10402,191,360
6May 15, 2021 19:2711,848108,948,88837,915,00602,179,072
7May 15, 2021 19:2611,854108,359,43437,932,85802,195,456
8May 15, 2021 19:2711,86696,582,42937,971,98302,183,168
9May 15, 2021 19:2711,920105,661,23338,142,80302,195,456