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 listJun 30, 2021 23:08Egor SergeevEgor SergeevScore: 5,162Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2021 23:085,13835,656,93416,443,00002,535,424
2Jun 30, 2021 23:085,14944,425,06616,476,00002,277,376
3Jun 30, 2021 23:085,15034,017,69716,480,00002,277,376
4Jun 30, 2021 23:085,15037,591,03816,481,00002,494,464
5Jun 30, 2021 23:085,15134,033,56616,484,00002,502,656
6Jun 30, 2021 23:085,15238,306,24016,487,00002,498,560
7Jun 30, 2021 23:085,16243,211,11516,518,00002,277,376
8Jun 30, 2021 23:085,16633,623,10916,531,00002,498,560
9Jun 30, 2021 23:085,17032,337,77316,543,00002,490,368
10Jun 30, 2021 23:085,39270,092,01217,253,39602,248,704
11Jun 30, 2021 23:085,39498,835,88517,262,20102,256,896
12Jun 30, 2021 23:085,40690,888,98417,297,72102,256,896