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 23, 2024 14:45MatthiasMatthiasScore: 5,485Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 14:455,42735,779,15116,344,0001,021,0002,273,280
2Nov 23, 2024 14:435,44638,459,43015,378,0002,050,0002,265,088
3Nov 23, 2024 14:435,45836,351,21216,439,0001,027,0002,289,664
4Nov 23, 2024 14:455,48537,562,86016,519,0001,032,0002,289,664
5Nov 23, 2024 14:455,49444,360,65316,548,0001,034,0002,273,280
6Nov 23, 2024 14:435,49639,242,66916,552,0001,034,0002,285,568