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 28, 2021 22:15Yuriy LyfenkoYuriy LyfenkoScore: 5,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 22:155,08345,471,00114,231,0002,033,0002,396,160
2May 28, 2021 22:155,08740,570,31615,262,0001,017,0002,400,256
3May 28, 2021 22:155,09446,949,44014,265,0002,037,0002,265,088
4May 28, 2021 22:155,10339,853,77915,308,0001,020,0002,265,088
5May 28, 2021 22:155,11733,218,84715,352,0001,023,0002,265,088
6May 28, 2021 22:155,11836,749,73616,376,00002,506,752
7May 28, 2021 22:155,13041,620,19616,416,00002,392,064
8May 28, 2021 22:155,13836,395,68515,415,0001,027,0002,265,088
9May 28, 2021 22:155,16137,728,46816,515,00002,486,272
10May 28, 2021 22:155,29875,915,10516,954,15602,281,472
11May 28, 2021 22:155,31172,862,85016,995,37102,277,376
12May 28, 2021 22:155,34843,533,89217,113,93502,277,376