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 listSep 29, 2021 13:57Andrey TsvetkovAndrey TsvetkovScore: 5,637Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 13:575,58138,140,91414,883,0002,976,000233,472
2Sep 29, 2021 13:575,58343,536,25816,873,000992,000237,568
3Sep 29, 2021 13:575,58343,387,37316,875,000992,000335,872
4Sep 29, 2021 13:575,58637,717,45615,890,0001,986,000233,472
5Sep 29, 2021 13:575,61239,321,29816,961,000997,000233,472
6Sep 29, 2021 13:575,61844,424,09716,978,000998,0002,334,720
7Sep 29, 2021 13:575,63729,688,80317,035,0001,002,0002,334,720
8Sep 29, 2021 13:575,65762,459,79918,101,42002,179,072
9Sep 29, 2021 13:575,67264,884,59818,150,18602,293,760
10Sep 29, 2021 13:575,70775,823,16218,263,96102,289,664
11Sep 29, 2021 13:575,73135,582,19715,282,0003,056,0002,334,720
12Sep 29, 2021 13:575,76147,416,91517,411,0001,024,000454,656