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 2, 2021 14:28Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:285,02240,715,13615,067,0001,004,0002,265,088
2Jun 2, 2021 14:285,02832,102,34614,079,0002,011,0002,265,088
3Jun 2, 2021 14:285,03331,924,76214,094,0002,013,0002,265,088
4Jun 2, 2021 14:285,03444,635,98615,103,0001,006,0002,265,088
5Jun 2, 2021 14:285,03542,755,79415,106,0001,007,0002,387,968
6Jun 2, 2021 14:285,05137,166,77815,153,0001,010,0002,396,160
7Jun 2, 2021 14:285,05343,845,45914,147,0002,021,0002,392,064
8Jun 2, 2021 14:285,08636,199,65114,240,0002,034,0002,265,088
9Jun 2, 2021 14:285,08842,222,81115,263,0001,017,0002,387,968
10Jun 2, 2021 14:285,27297,116,31816,869,96602,277,376
11Jun 2, 2021 14:285,27392,984,71716,873,02402,273,280
12Jun 2, 2021 14:285,31785,313,83017,015,97102,273,280