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 listJun 2, 2021 13:49Yuriy LyfenkoYuriy LyfenkoScore: 5,054Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 13:495,01141,569,87914,031,0002,004,0002,408,448
2Jun 2, 2021 13:495,01341,951,16915,038,0001,002,0002,396,160
3Jun 2, 2021 13:495,02137,221,22715,062,0001,004,0002,265,088
4Jun 2, 2021 13:495,02437,604,57214,069,0002,009,0002,281,472
5Jun 2, 2021 13:495,03131,748,35514,087,0002,012,0002,281,472
6Jun 2, 2021 13:495,03738,067,63815,111,0001,007,0002,519,040
7Jun 2, 2021 13:495,05438,704,03514,152,0002,021,0002,404,352
8Jun 2, 2021 13:495,06041,256,75514,168,0002,024,0002,400,256
9Jun 2, 2021 13:495,06737,567,54015,201,0001,013,0002,281,472
10Jun 2, 2021 13:495,23780,753,56616,758,01702,281,472
11Jun 2, 2021 13:495,23978,279,93816,765,57902,289,664
12Jun 2, 2021 13:495,24261,887,90416,773,79402,281,472