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 19, 2024 07:31Huy Duc LeHuy Duc LeScore: 5,699Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 07:315,66741,539,18915,111,0003,022,0002,281,472
2Feb 19, 2024 07:315,67449,671,69915,130,0003,026,0002,281,472
3Feb 19, 2024 07:315,67840,808,79916,151,0002,018,0002,281,472
4Feb 19, 2024 07:315,67846,842,73017,160,0001,009,0002,281,472
5Feb 19, 2024 07:315,68643,629,14614,151,0004,043,0002,281,472
6Feb 19, 2024 07:315,68846,684,19916,181,0002,022,0002,281,472
7Feb 19, 2024 07:315,69945,333,00216,210,0002,026,0002,281,472
8Feb 19, 2024 07:315,70742,277,26516,233,0002,029,0002,527,232
9Feb 19, 2024 07:315,70942,949,82816,240,0002,030,0002,281,472
10Feb 19, 2024 07:315,92689,558,99618,963,90602,306,048
11Feb 19, 2024 07:315,94389,860,42519,017,67302,179,072
12Feb 19, 2024 07:315,95793,228,12519,063,99102,306,048