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 listJul 30, 2024 11:36BenBenScore: 4,560Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:364,50440,523,79713,383,0001,029,0002,379,776
2Jul 30, 2024 11:364,52131,307,54313,434,0001,033,0002,375,680
3Jul 30, 2024 11:364,53327,168,01613,471,0001,036,0002,375,680
4Jul 30, 2024 11:364,54630,639,82413,508,0001,039,0002,375,680
5Jul 30, 2024 11:364,55436,880,18613,533,0001,041,0002,379,776
6Jul 30, 2024 11:364,55629,331,05814,580,00002,502,656
7Jul 30, 2024 11:364,56031,414,66313,550,0001,042,0002,265,088
8Jul 30, 2024 11:364,56331,150,79214,603,00002,527,232
9Jul 30, 2024 11:364,57231,558,57313,586,0001,045,0002,379,776
10Jul 30, 2024 11:364,83582,571,26815,472,82902,281,472
11Jul 30, 2024 11:364,83972,355,44715,484,20902,273,280
12Jul 30, 2024 11:364,86180,441,35215,555,01502,273,280