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 24, 2021 19:22Yuriy LyfenkoYuriy LyfenkoScore: 5,154Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:225,11234,094,67815,336,0001,022,0002,387,968
2May 24, 2021 19:225,11239,927,56715,336,0001,022,0002,392,064
3May 24, 2021 19:225,11936,557,93615,357,0001,023,0002,265,088
4May 24, 2021 19:225,12345,156,25015,370,0001,024,0002,387,968
5May 24, 2021 19:225,13044,320,49616,416,00002,265,088
6May 24, 2021 19:225,14143,027,25615,483,000967,0002,265,088
7May 24, 2021 19:225,15440,522,49716,492,00002,265,088
8May 24, 2021 19:225,15843,999,41815,476,0001,031,0002,392,064
9May 24, 2021 19:225,16033,813,24716,512,00002,383,872
10May 24, 2021 19:225,33358,547,25417,064,64402,273,280
11May 24, 2021 19:225,33452,058,72217,069,64302,277,376
12May 24, 2021 19:225,35071,448,80417,121,51302,277,376