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 listNov 1, 2021 16:58Ilya AniskovetsIlya AniskovetsScore: 5,895Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 16:585,636106,365,10418,036,45302,285,568
2Nov 1, 2021 16:585,65964,435,16718,109,16702,289,664
3Nov 1, 2021 16:585,68864,654,93518,200,81202,277,376
4Nov 1, 2021 16:585,84643,768,76316,629,0002,078,000266,240
5Nov 1, 2021 16:585,84644,178,25317,669,0001,039,000258,048
6Nov 1, 2021 16:585,89343,823,97015,881,0002,977,000249,856
7Nov 1, 2021 16:585,89542,595,15516,879,0001,985,000258,048
8Nov 1, 2021 16:585,92536,473,16516,964,0001,995,000253,952
9Nov 1, 2021 16:585,95549,033,95316,048,0003,009,000245,760
10Nov 1, 2021 16:585,96342,753,93916,069,0003,013,000356,352
11Nov 1, 2021 16:585,97939,578,71017,120,0002,014,000430,080
12Nov 1, 2021 16:585,99645,224,41316,158,0003,029,000167,936