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 30, 2022 13:24Keichi TakahashiKeichi TakahashiScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:245,28339,044,64415,849,0001,056,0002,265,088
2May 30, 2022 13:245,29846,466,73614,958,0001,994,0002,383,872
3May 30, 2022 13:245,31035,518,67315,994,000999,0002,387,968
4May 30, 2022 13:245,31347,485,80515,003,0002,000,0002,392,064
5May 30, 2022 13:245,32043,821,69615,021,0002,002,0002,392,064
6May 30, 2022 13:245,32240,520,25915,026,0002,003,0002,396,160
7May 30, 2022 13:245,32632,596,05916,042,0001,002,0002,527,232
8May 30, 2022 13:245,33643,517,68816,071,0001,004,0002,265,088
9May 30, 2022 13:245,35948,488,11316,140,0001,008,0002,265,088
10May 30, 2022 13:245,48872,547,83217,563,04202,277,376
11May 30, 2022 13:245,50989,224,13817,627,83402,273,280
12May 30, 2022 13:245,54088,116,24017,729,35002,277,376