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 listJun 8, 2024 20:38AndreyTSAndreyTSScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:385,79539,507,13517,515,0001,030,0002,269,184
2Jun 8, 2024 20:385,80038,398,29717,529,0001,031,0002,289,664
3Jun 8, 2024 20:385,80539,793,12118,575,00002,289,664
4Jun 8, 2024 20:385,82447,657,96217,602,0001,035,0002,289,664
5Jun 8, 2024 20:385,88345,812,36516,845,0001,981,0002,289,664
6Jun 8, 2024 20:385,89537,647,75818,864,00002,269,184
7Jun 8, 2024 20:385,89841,154,69116,887,0001,986,0002,289,664
8Jun 8, 2024 20:385,89851,278,90616,887,0001,986,0002,269,184
9Jun 8, 2024 20:385,91344,303,76216,929,0001,991,0002,527,232
10Jun 8, 2024 20:386,08088,685,65319,454,76402,179,072
11Jun 8, 2024 20:386,11897,834,02319,576,92502,297,856
12Jun 8, 2024 20:386,14893,500,43219,673,34902,183,168