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 4, 2021 21:38Andrey TsvetkovAndrey TsvetkovScore: 5,993Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:385,94945,730,38217,034,0002,004,0002,334,720
2Sep 4, 2021 21:385,96039,303,34717,066,0002,007,0002,297,856
3Sep 4, 2021 21:385,96786,931,06719,094,57102,273,280
4Sep 4, 2021 21:385,97086,984,43419,105,01102,265,088
5Sep 4, 2021 21:385,97146,361,32618,101,0001,005,0002,334,720
6Sep 4, 2021 21:385,97445,382,08016,099,0003,018,0002,289,664
7Sep 4, 2021 21:385,99342,012,66916,150,0003,028,0002,334,720
8Sep 4, 2021 21:385,99643,310,20517,168,0002,019,0002,326,528
9Sep 4, 2021 21:385,99840,387,39018,183,0001,010,0002,437,120
10Sep 4, 2021 21:386,00140,618,62916,172,0003,032,0002,330,624
11Sep 4, 2021 21:386,00937,911,04318,218,0001,012,0002,334,720
12Sep 4, 2021 21:386,15985,108,35919,709,32202,277,376