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:06Matt StuchlikMatt StuchlikScore: 4,832Success
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:064,80034,999,10913,312,0002,048,0002,289,664
2Jul 21, 2024 11:064,80333,121,64413,320,0002,049,0002,289,664
3Jul 21, 2024 11:064,80832,437,87513,335,0002,051,0002,265,088
4Jul 21, 2024 11:064,81341,739,89914,376,0001,026,0002,269,184
5Jul 21, 2024 11:064,82031,191,16913,369,0002,056,0002,289,664
6Jul 21, 2024 11:064,82432,593,98413,380,0002,058,0002,289,664
7Jul 21, 2024 11:064,83235,583,11614,431,0001,030,0002,289,664
8Jul 21, 2024 11:064,84333,952,22414,465,0001,033,0002,265,088
9Jul 21, 2024 11:064,84732,160,57514,477,0001,034,0002,289,664
10Jul 21, 2024 11:065,05982,405,92816,188,52902,285,568
11Jul 21, 2024 11:065,09084,661,01816,288,08302,289,664
12Jul 21, 2024 11:065,10065,943,98316,320,56902,293,760