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 listNov 5, 2024 22:48Evgen BodunovEvgen BodunovScore: 2,771,025Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 22:482,766,0638,884,980,2988,816,418,00034,985,0002,281,472
2Nov 5, 2024 22:482,767,6298,886,037,8358,806,434,00049,979,0002,289,664
3Nov 5, 2024 22:482,769,7308,895,866,7848,829,146,00033,989,0002,289,664
4Nov 5, 2024 22:482,769,9278,893,685,4638,822,780,00040,985,0002,281,472
5Nov 5, 2024 22:482,771,0258,897,768,1148,827,298,00039,983,0002,281,472
6Nov 5, 2024 22:482,799,3218,992,302,6568,915,847,00041,980,0002,281,472
7Nov 5, 2024 22:482,799,4208,992,841,6188,931,157,00026,988,0002,269,184
8Nov 5, 2024 22:482,837,1519,102,363,3849,048,894,00029,989,0002,281,472
9Nov 5, 2024 22:482,892,1759,288,502,0699,223,975,00030,986,0002,281,472