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 22, 2024 13:36Huy Duc LeHuy Duc LeScore: 4,680Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:364,66232,185,59012,929,0001,989,0002,265,088
2Feb 22, 2024 13:364,66435,117,41112,936,0001,990,0002,265,088
3Feb 22, 2024 13:364,66835,601,40512,947,0001,991,0002,502,656
4Feb 22, 2024 13:364,66944,200,18512,948,0001,992,0002,387,968
5Feb 22, 2024 13:364,67035,861,75613,948,000996,0002,265,088
6Feb 22, 2024 13:364,67243,092,08513,954,000996,0002,383,872
7Feb 22, 2024 13:364,68045,375,75513,979,000998,0002,265,088
8Feb 22, 2024 13:364,70341,732,84113,042,0002,006,0002,265,088
9Feb 22, 2024 13:364,70941,785,12914,066,0001,004,0002,383,872
10Feb 22, 2024 13:364,86386,445,31315,561,19102,285,568
11Feb 22, 2024 13:364,89181,890,15315,652,20002,281,472
12Feb 22, 2024 13:364,94473,520,44915,821,48202,285,568