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 listApr 1, 2024 13:31Drew GarciaDrew GarciaScore: 5,732Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 13:315,60648,465,38515,946,0001,993,0002,281,472
2Apr 1, 2024 13:315,61538,622,91513,975,0003,992,0002,281,472
3Apr 1, 2024 13:315,62445,598,44614,999,0002,999,0002,281,472
4Apr 1, 2024 13:315,63845,319,47117,039,0001,002,0002,281,472
5Apr 1, 2024 13:315,64135,093,09716,046,0002,005,0002,277,376
6Apr 1, 2024 13:315,64450,006,56617,057,0001,003,0002,269,184
7Apr 1, 2024 13:315,73246,355,29816,305,0002,038,0002,277,376
8Apr 1, 2024 13:315,76047,075,23916,385,0002,048,0002,371,584
9Apr 1, 2024 13:315,76245,190,05216,390,0002,048,0002,281,472
10Apr 1, 2024 13:315,922114,851,11018,950,29802,187,264
11Apr 1, 2024 13:315,95981,307,38719,069,86002,297,856
12Apr 1, 2024 13:315,96783,365,27519,094,88902,179,072