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 listSep 7, 2022 04:40Yuriy LyfenkoYuriy LyfenkoScore: 4,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:404,400545,522,14312,070,0002,011,0002,260,992
2Sep 7, 2022 04:404,404543,248,49212,079,0002,013,0002,519,040
3Sep 7, 2022 04:404,404543,983,58012,079,0002,013,0002,260,992
4Sep 7, 2022 04:404,413537,488,35013,113,0001,008,0002,396,160
5Sep 7, 2022 04:404,436539,215,27212,167,0002,027,0002,260,992
6Sep 7, 2022 04:404,438540,039,14413,186,0001,014,0002,392,064
7Sep 7, 2022 04:404,441543,591,06413,195,0001,015,0002,260,992
8Sep 7, 2022 04:404,471540,316,18813,286,0001,022,0002,392,064
9Sep 7, 2022 04:404,472545,400,67213,288,0001,022,0002,260,992
10Sep 7, 2022 04:404,605577,431,06914,734,47202,281,472
11Sep 7, 2022 04:404,605575,743,18414,735,29302,244,608
12Sep 7, 2022 04:404,650571,038,89314,880,59102,269,184