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 22:04Alexander MonakovAlexander MonakovScore: 8,293Success
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 22:045,58179,100,11117,857,83502,289,664
2Mar 15, 2023 22:045,59790,315,53017,910,24802,289,664
3Mar 15, 2023 22:045,92584,577,27218,961,04702,293,760
4Mar 15, 2023 22:048,24150,110,73518,258,0008,114,0002,383,872
5Mar 15, 2023 22:048,28946,736,61113,262,00013,262,0002,359,296
6Mar 15, 2023 22:048,29150,669,59815,307,00011,225,0002,281,472
7Mar 15, 2023 22:048,29349,252,07120,415,0006,124,0002,441,216
8Mar 15, 2023 22:048,31951,979,82317,407,0009,215,0002,334,720
9Mar 15, 2023 22:048,31959,873,03921,503,0005,119,0002,433,024
10Mar 15, 2023 22:048,32352,197,62313,317,00013,317,0002,379,776
11Mar 15, 2023 22:048,33053,394,16414,353,00012,303,0002,338,816
12Mar 15, 2023 22:048,33651,823,61720,519,0006,155,0002,359,296