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 15, 2023 19:16Alexander MonakovAlexander MonakovScore: 8,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 19:165,60798,771,72117,943,35502,289,664
2Mar 15, 2023 19:165,62676,571,35318,002,13002,285,568
3Mar 15, 2023 19:165,63979,774,44718,044,63902,285,568
4Mar 15, 2023 19:168,27750,234,61519,356,0007,131,0002,359,296
5Mar 15, 2023 19:168,28147,342,20314,268,00012,230,0002,437,120
6Mar 15, 2023 19:168,28847,174,27319,381,0007,140,0002,441,216
7Mar 15, 2023 19:168,29853,086,14921,447,0005,106,0002,383,872
8Mar 15, 2023 19:168,32356,647,51318,440,0008,195,0002,359,296
9Mar 15, 2023 19:168,32654,010,06114,347,00012,297,0002,433,024
10Mar 15, 2023 19:168,32661,197,66720,496,0006,148,0002,433,024
11Mar 15, 2023 19:168,32855,692,45517,767,0008,883,0002,383,872
12Mar 15, 2023 19:168,33557,734,36719,491,0007,181,0002,437,120