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 listJun 2, 2021 12:00Dmitry DolgopolovDmitry DolgopolovScore: 4,990Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 12:004,95331,105,77214,861,000990,0002,441,216
2Jun 2, 2021 12:004,95629,144,73813,876,0001,982,0002,535,424
3Jun 2, 2021 12:004,96144,136,18313,890,0001,984,0002,535,424
4Jun 2, 2021 12:004,96138,163,01113,892,0001,984,0002,535,424
5Jun 2, 2021 12:004,96230,192,06213,894,0001,984,0002,273,280
6Jun 2, 2021 12:004,96231,011,43614,887,000992,0002,273,280
7Jun 2, 2021 12:004,99030,149,84713,973,0001,996,0002,535,424
8Jun 2, 2021 12:004,99238,375,09313,978,0001,996,0002,535,424
9Jun 2, 2021 12:004,99635,566,96413,989,0001,998,0002,535,424
10Jun 2, 2021 12:005,17774,392,84716,564,84802,203,648
11Jun 2, 2021 12:005,19374,595,50016,617,52902,211,840
12Jun 2, 2021 12:005,21357,364,38316,682,74102,207,744