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:36Keichi TakahashiKeichi TakahashiScore: 5,278Success
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:365,26542,565,12514,865,0001,982,0002,265,088
2May 30, 2022 13:365,27344,457,67915,880,000992,0002,502,656
3May 30, 2022 13:365,27348,144,13314,888,0001,985,0002,379,776
4May 30, 2022 13:365,27438,183,37616,876,00002,265,088
5May 30, 2022 13:365,27647,521,02315,890,000993,0002,387,968
6May 30, 2022 13:365,27843,660,28015,895,000993,0002,478,080
7May 30, 2022 13:365,27848,007,08715,898,000993,0002,387,968
8May 30, 2022 13:365,28036,029,42814,909,0001,987,0002,498,560
9May 30, 2022 13:365,28934,366,60214,934,0001,991,0002,265,088
10May 30, 2022 13:365,45163,112,40317,444,39702,289,664
11May 30, 2022 13:365,45784,708,43317,462,62502,281,472
12May 30, 2022 13:365,46493,464,51817,484,27902,281,472