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 listFeb 28, 2024 05:16Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 05:165,62075,353,31317,983,13802,310,144
2Feb 28, 2024 05:165,65291,775,72618,086,21902,306,048
3Feb 28, 2024 05:165,66041,747,95617,105,0001,006,0002,281,472
4Feb 28, 2024 05:165,67643,984,51316,144,0002,018,0002,293,760
5Feb 28, 2024 05:165,68844,177,40016,179,0002,022,0002,269,184
6Feb 28, 2024 05:165,69880,128,81218,232,72802,183,168
7Feb 28, 2024 05:165,70849,193,13616,236,0002,029,0002,277,376
8Feb 28, 2024 05:165,71641,015,62216,258,0002,032,0002,281,472
9Feb 28, 2024 05:165,72139,678,22916,273,0002,034,0002,293,760
10Feb 28, 2024 05:165,75048,068,70316,464,0001,937,0002,527,232
11Feb 28, 2024 05:165,75640,318,32516,374,0002,046,0002,293,760
12Feb 28, 2024 05:165,76946,934,68216,410,0002,051,0002,293,760