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 3, 2021 16:17Yuriy LyfenkoYuriy LyfenkoScore: 5,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:175,027538,415,42115,082,0001,005,0002,273,280
2Jun 3, 2021 16:175,043538,879,65415,129,0001,008,0002,281,472
3Jun 3, 2021 16:175,055539,154,58714,154,0002,022,0002,273,280
4Jun 3, 2021 16:175,055542,880,27215,165,0001,011,0002,404,352
5Jun 3, 2021 16:175,081537,686,73016,258,00002,273,280
6Jun 3, 2021 16:175,082538,800,57316,262,00002,281,472
7Jun 3, 2021 16:175,102546,433,35615,305,0001,020,0002,273,280
8Jun 3, 2021 16:175,109538,153,95915,329,0001,021,0002,273,280
9Jun 3, 2021 16:175,111541,703,90616,354,00002,273,280
10Jun 3, 2021 16:175,192577,177,47916,614,46402,252,800
11Jun 3, 2021 16:175,211577,925,32816,674,28602,256,896
12Jun 3, 2021 16:175,235576,192,49616,753,02502,285,568