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 26, 2024 20:01Pierre B.Pierre B.Score: 4,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:014,64537,742,43413,873,000990,0002,289,664
2Jul 26, 2024 20:014,64532,368,35612,883,0001,982,0002,289,664
3Jul 26, 2024 20:014,65134,267,39012,900,0001,984,0002,289,664
4Jul 26, 2024 20:014,65931,236,14113,844,0001,064,0002,387,968
5Jul 26, 2024 20:014,66139,308,88812,927,0001,988,0002,289,664
6Jul 26, 2024 20:014,66738,690,15812,944,0001,991,0002,289,664
7Jul 26, 2024 20:014,67331,370,07912,959,0001,993,0002,289,664
8Jul 26, 2024 20:014,67631,611,48912,968,0001,995,0002,289,664
9Jul 26, 2024 20:014,68633,608,70812,997,0001,999,0002,277,376
10Jul 26, 2024 20:014,91891,133,25115,736,88402,277,376
11Jul 26, 2024 20:014,94190,799,99415,811,46702,174,976
12Jul 26, 2024 20:014,94491,774,44515,821,71202,293,760