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 listJan 21, 2024 16:29matsuoka-601matsuoka-601Score: 5,011Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:294,95236,031,58113,866,0001,980,0002,527,232
2Jan 21, 2024 16:294,96342,371,38913,898,0001,985,0002,277,376
3Jan 21, 2024 16:294,97934,682,60213,943,0001,991,0002,285,568
4Jan 21, 2024 16:294,97934,388,22313,943,0001,991,0002,273,280
5Jan 21, 2024 16:294,98136,718,78113,946,0001,992,0002,277,376
6Jan 21, 2024 16:294,98838,293,54413,967,0001,995,0002,269,184
7Jan 21, 2024 16:295,01146,662,94714,031,0002,004,0002,285,568
8Jan 21, 2024 16:295,02338,786,26114,066,0002,009,0002,285,568
9Jan 21, 2024 16:295,02639,740,45014,072,0002,010,0002,527,232
10Jan 21, 2024 16:295,16593,909,60216,526,56302,301,952
11Jan 21, 2024 16:295,19581,774,42916,624,83902,187,264
12Jan 21, 2024 16:295,20795,284,67716,661,13002,301,952