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 listNov 30, 2024 01:59Joad NacerJoad NacerScore: 4,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2024 01:594,29429,240,83512,684,0001,057,0002,531,328
2Nov 30, 2024 01:594,33037,288,76211,876,0001,979,0002,531,328
3Nov 30, 2024 01:594,33129,115,16312,869,000989,0002,420,736
4Nov 30, 2024 01:594,33329,739,99112,876,000990,0002,531,328
5Nov 30, 2024 01:594,33642,522,88412,883,000991,0002,428,928
6Nov 30, 2024 01:594,33628,550,04012,885,000991,0002,531,328
7Nov 30, 2024 01:594,33734,489,35412,887,000991,0002,531,328
8Nov 30, 2024 01:594,33829,334,51912,892,000991,0002,437,120
9Nov 30, 2024 01:594,35129,802,00712,928,000994,0002,510,848
10Nov 30, 2024 01:594,36128,300,38911,963,0001,993,0002,531,328
11Nov 30, 2024 01:594,38435,960,66412,025,0002,004,0002,437,120
12Nov 30, 2024 01:594,48832,244,90014,363,00002,433,024