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 listAug 13, 2024 14:26vahookvahookScore: 4,596Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 14:264,57243,026,66913,586,0001,045,0002,281,472
2Aug 13, 2024 14:264,58131,252,26814,660,00002,281,472
3Aug 13, 2024 14:264,58334,725,11713,617,0001,047,0002,396,160
4Aug 13, 2024 14:264,58430,634,76614,668,00002,281,472
5Aug 13, 2024 14:264,58643,009,47613,626,0001,048,0002,400,256
6Aug 13, 2024 14:264,59429,728,81213,652,0001,050,0002,404,352
7Aug 13, 2024 14:264,59631,003,66914,708,00002,404,352
8Aug 13, 2024 14:264,60346,668,70014,728,00002,396,160
9Aug 13, 2024 14:264,60532,473,62513,685,0001,052,0002,412,544
10Aug 13, 2024 14:264,82290,681,01315,429,81602,293,760
11Aug 13, 2024 14:264,84395,628,06915,498,81602,301,952
12Aug 13, 2024 14:264,84782,864,70015,509,87902,293,760