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 27, 2021 22:33gchebanovgchebanovScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:335,49138,250,22616,539,0001,033,0002,510,848
2Jun 27, 2021 22:335,50341,841,34017,610,00002,285,568
3Jun 27, 2021 22:335,53241,873,43616,660,0001,041,0002,363,392
4Jun 27, 2021 22:335,57546,080,46515,859,0001,982,0002,285,568
5Jun 27, 2021 22:335,58238,115,81315,878,0001,984,0002,510,848
6Jun 27, 2021 22:335,58440,228,78616,878,000992,0002,285,568
7Jun 27, 2021 22:335,58544,371,68616,879,000992,0002,514,944
8Jun 27, 2021 22:335,58947,893,23216,891,000993,0002,285,568
9Jun 27, 2021 22:335,61047,334,45916,955,000997,0002,285,568
10Jun 27, 2021 22:335,74790,308,64418,391,90502,256,896
11Jun 27, 2021 22:335,76569,805,97918,449,34002,273,280
12Jun 27, 2021 22:335,79591,256,44418,542,44802,269,184