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 21:14AndreyTSAndreyTSScore: 5,289Success
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 21:145,23137,734,72915,693,0001,046,0002,289,664
2Jun 8, 2024 21:145,26843,536,68514,875,0001,983,0002,289,664
3Jun 8, 2024 21:145,26842,615,60314,875,0001,983,0002,269,184
4Jun 8, 2024 21:145,27942,374,31514,905,0001,987,0002,289,664
5Jun 8, 2024 21:145,28343,174,14116,906,00002,289,664
6Jun 8, 2024 21:145,28833,498,76915,866,0001,057,0002,285,568
7Jun 8, 2024 21:145,28937,317,86814,934,0001,991,0002,269,184
8Jun 8, 2024 21:145,29344,967,21714,947,0001,992,0002,265,088
9Jun 8, 2024 21:145,30043,526,66814,965,0001,995,0002,265,088
10Jun 8, 2024 21:145,45576,516,57517,455,69702,252,800
11Jun 8, 2024 21:145,47583,742,11217,519,73102,297,856
12Jun 8, 2024 21:145,50979,625,07917,627,87102,174,976