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:46Keichi TakahashiKeichi TakahashiScore: 5,288Success
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:465,27031,745,74716,864,00002,265,088
2May 30, 2022 13:465,27147,152,61514,883,0001,984,0002,265,088
3May 30, 2022 13:465,27332,696,48514,888,0001,985,0002,527,232
4May 30, 2022 13:465,27739,233,47915,893,000993,0002,265,088
5May 30, 2022 13:465,28233,707,35914,914,0001,988,0002,265,088
6May 30, 2022 13:465,28335,196,39015,910,000994,0002,392,064
7May 30, 2022 13:465,28845,074,02015,927,000995,0002,387,968
8May 30, 2022 13:465,29031,907,39515,934,000995,0002,265,088
9May 30, 2022 13:465,29233,796,28215,939,000996,0002,265,088
10May 30, 2022 13:465,47776,896,31217,527,68202,281,472
11May 30, 2022 13:465,48073,499,97817,535,26902,277,376
12May 30, 2022 13:465,49684,315,71317,586,63502,285,568