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 16, 2021 13:00Yuriy LyfenkoYuriy LyfenkoScore: 5,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:005,63451,283,79017,027,0001,001,0002,269,184
2May 16, 2021 13:005,63554,716,06518,033,00002,269,184
3May 16, 2021 13:005,64648,806,46616,060,0002,007,0002,269,184
4May 16, 2021 13:005,65553,284,49617,092,0001,005,0002,265,088
5May 16, 2021 13:005,66649,216,72817,123,0001,007,0002,265,088
6May 16, 2021 13:005,67049,303,36517,136,0001,008,0002,269,184
7May 16, 2021 13:005,67153,380,51517,138,0001,008,0002,269,184
8May 16, 2021 13:005,67455,796,06618,158,00002,265,088
9May 16, 2021 13:005,67756,070,64617,158,0001,009,0002,269,184
10May 16, 2021 13:006,077100,492,55919,446,96702,277,376
11May 16, 2021 13:006,090110,772,43919,488,66102,281,472
12May 16, 2021 13:006,135100,825,33219,631,34802,277,376