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 listJul 21, 2024 11:09Matt StuchlikMatt StuchlikScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:095,00240,047,20414,006,0002,000,0002,289,664
2Jul 21, 2024 11:095,01442,724,88014,040,0002,005,0002,265,088
3Jul 21, 2024 11:095,02042,465,43514,056,0002,008,0002,289,664
4Jul 21, 2024 11:095,03640,826,07615,108,0001,007,0002,289,664
5Jul 21, 2024 11:095,03639,619,02714,101,0002,014,0002,289,664
6Jul 21, 2024 11:095,04232,637,50614,118,0002,016,0002,269,184
7Jul 21, 2024 11:095,05339,055,64614,147,0002,021,0002,285,568
8Jul 21, 2024 11:095,05832,243,37315,175,0001,011,0002,527,232
9Jul 21, 2024 11:095,06633,485,25614,185,0002,026,0002,351,104
10Jul 21, 2024 11:095,20182,536,97316,642,20702,174,976
11Jul 21, 2024 11:095,23594,503,36516,751,04702,301,952
12Jul 21, 2024 11:095,24569,596,00816,784,21402,174,976