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 listMar 10, 2024 11:54Andrey TsvetkovAndrey TsvetkovScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2024 11:545,51848,862,04417,656,00002,347,008
2Mar 10, 2024 11:545,52433,610,10416,638,0001,039,0002,338,816
3Mar 10, 2024 11:545,54043,344,43717,728,00002,342,912
4Mar 10, 2024 11:545,54145,009,43416,689,0001,043,0002,347,008
5Mar 10, 2024 11:545,58443,541,94716,878,000992,0002,334,720
6Mar 10, 2024 11:545,58442,595,96617,870,00002,347,008
7Mar 10, 2024 11:545,58834,596,67116,887,000993,0002,338,816
8Mar 10, 2024 11:545,58940,896,30315,899,0001,987,0002,347,008
9Mar 10, 2024 11:545,59233,038,91216,899,000994,0002,338,816
10Mar 10, 2024 11:545,59880,929,27017,914,72302,179,072
11Mar 10, 2024 11:545,71579,259,10918,288,52402,297,856
12Mar 10, 2024 11:545,73881,852,57118,363,13302,183,168