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 02:05Joad NacerJoad NacerScore: 4,338Success
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 02:054,33229,953,27212,872,000990,0002,531,328
2Nov 30, 2024 02:054,33645,913,81312,883,000991,0002,531,328
3Nov 30, 2024 02:054,33728,112,34111,895,0001,982,0002,531,328
4Nov 30, 2024 02:054,33836,316,59213,880,00002,433,024
5Nov 30, 2024 02:054,33939,718,14612,895,000991,0002,531,328
6Nov 30, 2024 02:054,35435,100,78212,939,000995,0002,510,848