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 14, 2021 21:45alex3dalex3dScore: 10,731Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:3510,6612,898,145,84034,115,45802,260,992
2May 14, 2021 21:4510,669950,429,92334,140,04102,260,992
3May 14, 2021 21:3410,676792,674,88934,162,42102,256,896
4May 14, 2021 21:3610,6831,652,073,57434,185,66902,260,992
5May 14, 2021 21:3510,688749,683,83534,202,47402,256,896
6May 14, 2021 21:3410,689895,357,25034,205,07702,260,992
7May 14, 2021 21:3610,7042,857,131,97134,251,63102,256,896
8May 14, 2021 21:3510,731553,370,15434,338,14202,256,896
9May 14, 2021 21:3510,7371,533,773,03234,358,02402,256,896
10May 14, 2021 21:3510,7532,850,498,27034,409,29002,260,992
11May 14, 2021 21:3610,7562,162,479,99134,420,49802,260,992
12May 14, 2021 21:4510,7592,428,787,29034,428,60202,260,992
13May 14, 2021 21:3510,766921,986,81734,450,25602,256,896
14May 14, 2021 21:3410,7702,296,516,54734,465,00402,256,896
15May 14, 2021 21:4510,773577,125,94434,475,13502,260,992