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 29, 2024 17:07Joad NacerJoad NacerScore: 4,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 17:074,43027,183,26312,152,0002,025,0002,428,928
2Nov 29, 2024 17:074,43229,745,66612,156,0002,026,0002,437,120
3Nov 29, 2024 17:074,43333,780,76712,161,0002,026,0002,433,024
4Nov 29, 2024 17:074,43433,614,08312,162,0002,027,0002,531,328
5Nov 29, 2024 17:074,43930,494,64213,192,0001,014,0002,433,024
6Nov 29, 2024 17:074,44231,734,09613,200,0001,015,0002,531,328
7Nov 29, 2024 17:074,45327,543,01113,231,0001,017,0002,433,024
8Nov 29, 2024 17:074,46029,665,33713,252,0001,019,0002,531,328
9Nov 29, 2024 17:074,47630,042,45112,277,0002,046,0002,531,328