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 28, 2024 20:39Joad NacerJoad NacerScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2024 20:394,44236,594,42312,185,0002,030,0002,269,184
2Nov 28, 2024 20:384,46430,243,81514,285,00002,437,120
3Nov 28, 2024 20:384,47033,906,89914,304,00002,437,120
4Nov 28, 2024 20:394,48230,200,77114,341,00002,428,928
5Nov 28, 2024 20:394,48239,801,12614,341,00002,428,928
6Nov 28, 2024 20:394,49030,050,24713,342,0001,026,0002,531,328
7Nov 28, 2024 20:384,49230,206,43013,347,0001,026,0002,269,184
8Nov 28, 2024 20:394,49727,646,07014,391,00002,510,848
9Nov 28, 2024 20:394,53832,208,90914,520,00002,531,328