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 listMar 16, 2023 01:06Alexander MonakovAlexander MonakovScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 01:065,27041,329,04415,872,000992,0002,281,472
2Mar 16, 2023 01:065,27045,183,18014,881,0001,984,0002,281,472
3Mar 16, 2023 01:065,27241,318,06314,887,0001,984,0002,453,504
4Mar 16, 2023 01:065,27341,990,51214,890,0001,985,0002,449,408
5Mar 16, 2023 01:065,27642,477,43214,898,0001,986,0002,449,408
6Mar 16, 2023 01:065,27942,430,10615,900,000993,0002,281,472
7Mar 16, 2023 01:065,27947,991,41114,907,0001,987,0002,281,472
8Mar 16, 2023 01:065,28749,585,42915,860,0001,057,0002,281,472
9Mar 16, 2023 01:065,29941,102,62014,963,0001,995,0002,281,472
10Mar 16, 2023 01:065,418102,450,49517,337,76002,260,992
11Mar 16, 2023 01:065,42677,086,66817,364,39402,215,936
12Mar 16, 2023 01:065,46779,652,01817,494,34502,199,552