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 12:54Huy Duc LeHuy Duc LeScore: 5,082Success
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 12:545,02832,793,09915,083,0001,005,0002,273,280
2Feb 22, 2024 12:545,03839,022,02115,113,0001,007,0002,293,760
3Feb 22, 2024 12:545,04337,107,39215,131,0001,008,0002,293,760
4Feb 22, 2024 12:545,04639,695,54714,128,0002,018,0002,277,376
5Feb 22, 2024 12:545,05434,848,87316,173,00002,293,760
6Feb 22, 2024 12:545,07539,154,49314,211,0002,030,0002,342,912
7Feb 22, 2024 12:545,08239,054,41415,247,0001,016,0002,293,760
8Feb 22, 2024 12:545,08439,926,07615,253,0001,016,0002,293,760
9Feb 22, 2024 12:545,10738,749,09814,300,0002,042,0002,269,184
10Feb 22, 2024 12:545,23988,828,28116,765,42002,306,048
11Feb 22, 2024 12:545,25479,009,50116,812,39202,297,856
12Feb 22, 2024 12:545,28591,785,65816,911,25602,289,664