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 listMar 24, 2024 23:18IhebIhebScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2024 23:185,46146,001,47216,448,0001,028,0002,277,376
2Mar 24, 2024 23:185,46838,866,79517,499,00002,265,088
3Mar 24, 2024 23:185,47840,357,59617,530,00002,289,664
4Mar 24, 2024 23:185,48937,275,19716,533,0001,033,0002,289,664
5Mar 24, 2024 23:185,49344,577,29416,544,0001,034,0002,269,184
6Mar 24, 2024 23:185,49434,115,19816,546,0001,034,0002,289,664
7Mar 24, 2024 23:185,50543,844,20116,581,0001,036,0002,273,280
8Mar 24, 2024 23:185,51748,250,41616,617,0001,038,0002,289,664
9Mar 24, 2024 23:185,52444,442,01216,637,0001,039,0002,289,664
10Mar 24, 2024 23:185,679103,124,08218,174,10902,187,264
11Mar 24, 2024 23:185,71382,280,49318,281,63602,306,048
12Mar 24, 2024 23:185,75083,554,25218,400,02402,179,072