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 22, 2024 23:19MatthiasMatthiasScore: 45,813Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 22, 2024 23:1945,797177,166,658145,547,0001,003,0002,281,472
2Nov 22, 2024 23:1945,798168,269,835146,553,00002,265,088
3Nov 22, 2024 23:1945,799167,349,978145,553,0001,003,0002,265,088
4Nov 22, 2024 23:1945,808173,448,584145,583,0001,004,0002,269,184
5Nov 22, 2024 23:1945,813179,537,263145,599,0001,004,0002,289,664
6Nov 22, 2024 23:1945,814178,299,433145,602,0001,004,0002,289,664
7Nov 22, 2024 23:1945,824178,053,943145,634,0001,004,0002,289,664
8Nov 22, 2024 23:1945,874173,141,785144,801,0001,997,0002,363,392
9Nov 22, 2024 23:1945,878178,387,165145,810,000998,0002,273,280