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 listSep 26, 2023 14:24IhebIhebScore: 5,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 14:245,74936,081,01217,375,0001,022,0002,277,376
2Sep 26, 2023 14:245,77340,890,37518,474,00002,277,376
3Sep 26, 2023 14:245,77334,994,69117,449,0001,026,0002,289,664
4Sep 26, 2023 14:245,79838,924,08018,555,00002,363,392
5Sep 26, 2023 14:245,80841,586,36017,552,0001,032,0002,281,472
6Sep 26, 2023 14:245,81047,532,72417,559,0001,032,0002,277,376
7Sep 26, 2023 14:245,83847,737,09917,643,0001,037,0002,289,664
8Sep 26, 2023 14:245,83949,759,53317,647,0001,038,0002,273,280
9Sep 26, 2023 14:245,85150,982,21718,722,00002,289,664
10Sep 26, 2023 14:245,96680,011,90519,090,32002,301,952
11Sep 26, 2023 14:246,04782,953,71019,350,65702,179,072
12Sep 26, 2023 14:246,065102,267,54919,407,27702,297,856