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 15, 2024 16:32matsuoka-601matsuoka-601Score: 4,889Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 16:324,85238,349,36814,490,0001,035,0002,285,568
2Jan 15, 2024 16:324,86435,605,16915,565,00002,269,184
3Jan 15, 2024 16:324,86931,126,44714,543,0001,038,0002,269,184
4Jan 15, 2024 16:324,87137,043,61114,547,0001,039,0002,285,568
5Jan 15, 2024 16:324,87230,028,43514,552,0001,039,0002,375,680
6Jan 15, 2024 16:324,87935,116,98514,573,0001,040,0002,273,280
7Jan 15, 2024 16:324,88932,615,34914,602,0001,043,0002,273,280
8Jan 15, 2024 16:324,89541,604,31714,619,0001,044,0002,285,568
9Jan 15, 2024 16:324,96549,664,29414,896,000993,0002,285,568
10Jan 15, 2024 16:325,08898,765,13316,282,91302,297,856
11Jan 15, 2024 16:325,11296,094,42616,358,50702,301,952
12Jan 15, 2024 16:325,13393,000,83016,425,88402,256,896