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 21:21Yuriy LyfenkoYuriy LyfenkoScore: 11,364Success
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 21:2111,30494,883,19936,171,87402,236,416
2May 15, 2021 21:2111,32496,837,94536,235,33302,248,704
3May 15, 2021 21:2611,358118,044,08136,344,71502,256,896
4May 15, 2021 21:2111,36292,132,66136,358,84702,240,512
5May 15, 2021 21:2611,36492,588,71536,366,13902,256,896
6May 15, 2021 21:2111,38298,861,74336,421,52202,244,608
7May 15, 2021 21:2611,431125,755,44236,578,81702,252,800
8May 15, 2021 21:2111,508104,494,58836,825,90402,252,800
9May 15, 2021 21:2111,61395,993,60437,163,06402,240,512