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 listDec 28, 2024 14:26NeoNeoScore: 5,794Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2024 14:265,74841,744,81118,392,00002,289,664
2Dec 28, 2024 14:265,74936,030,83616,353,0002,044,0002,269,184
3Dec 28, 2024 14:265,76840,839,55017,434,0001,025,0002,285,568
4Dec 28, 2024 14:265,77342,266,16017,449,0001,026,0002,289,664
5Dec 28, 2024 14:265,79441,357,54817,512,0001,030,0002,289,664
6Dec 28, 2024 14:265,79643,438,48217,517,0001,030,0002,273,280
7Dec 28, 2024 14:265,80936,448,95617,558,0001,032,0002,367,488
8Dec 28, 2024 14:265,81746,090,77618,613,00002,281,472
9Dec 28, 2024 14:265,82247,767,70017,595,0001,035,0002,289,664