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 listApr 11, 2024 16:53Drew GarciaDrew GarciaScore: 5,369Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 16:535,32838,910,52716,047,0001,002,0002,281,472
2Apr 11, 2024 16:535,34642,073,41116,101,0001,006,0002,281,472
3Apr 11, 2024 16:535,35238,708,72516,118,0001,007,0002,281,472
4Apr 11, 2024 16:535,35342,111,59814,107,0003,023,0002,281,472
5Apr 11, 2024 16:535,35734,573,93316,133,0001,008,0002,281,472
6Apr 11, 2024 16:535,36340,027,21915,144,0002,019,0002,379,776
7Apr 11, 2024 16:535,36935,573,18014,149,0003,032,0002,273,280
8Apr 11, 2024 16:535,40041,152,34415,247,0002,032,0002,281,472
9Apr 11, 2024 16:535,40636,196,66915,265,0002,035,0002,281,472
10Apr 11, 2024 16:535,70388,267,24318,249,09402,285,568
11Apr 11, 2024 16:535,75886,481,63318,426,98702,293,760
12Apr 11, 2024 16:535,75880,451,04618,426,11502,293,760