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:56Yuriy LyfenkoYuriy LyfenkoScore: 5,347Success
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:565,31531,943,72015,007,0002,001,0002,265,088
2May 15, 2021 21:565,33340,712,86215,058,0002,007,0002,265,088
3May 15, 2021 21:565,33542,627,15516,069,0001,004,0002,392,064
4May 15, 2021 21:565,34043,290,48117,087,00002,392,064
5May 15, 2021 21:565,34145,288,65816,085,0001,005,0002,383,872
6May 15, 2021 21:565,34545,322,64215,091,0002,012,0002,265,088
7May 15, 2021 21:565,34743,375,55515,097,0002,013,0002,265,088
8May 15, 2021 21:565,36244,953,05715,141,0002,018,0002,506,752
9May 15, 2021 21:565,36343,555,20216,154,0001,009,0002,265,088
10May 15, 2021 21:565,56571,252,31717,806,51602,260,992
11May 15, 2021 21:565,57995,068,14717,854,22402,265,088
12May 15, 2021 21:565,61092,121,98917,953,08402,277,376