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 9, 2024 18:36matsuoka-601matsuoka-601Score: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:364,58633,699,93314,676,00002,285,568
2Jun 9, 2024 18:364,60335,931,41813,679,0001,052,0002,285,568
3Jun 9, 2024 18:364,64731,085,57712,887,0001,982,0002,408,448
4Jun 9, 2024 18:364,65033,868,86013,888,000992,0002,285,568
5Jun 9, 2024 18:364,65147,449,65212,898,0001,984,0002,400,256
6Jun 9, 2024 18:364,65133,504,00612,899,0001,984,0002,510,848
7Jun 9, 2024 18:364,65331,962,52513,899,000992,0002,285,568
8Jun 9, 2024 18:364,65732,268,59613,909,000993,0002,396,160
9Jun 9, 2024 18:364,65731,184,39613,909,000993,0002,408,448
10Jun 9, 2024 18:364,89280,965,01115,655,14402,301,952
11Jun 9, 2024 18:364,89886,133,06515,674,60302,183,168
12Jun 9, 2024 18:364,92797,817,30915,766,87102,297,856