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:58MatthiasMatthiasScore: 5,791Success
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:585,77139,133,32917,441,0001,025,0002,527,232
2Nov 22, 2024 23:585,77240,996,80317,445,0001,026,0002,289,664
3Nov 22, 2024 23:585,77545,925,53517,454,0001,026,0002,289,664
4Nov 22, 2024 23:585,79044,337,65317,498,0001,029,0002,273,280
5Nov 22, 2024 23:585,79145,031,93417,502,0001,029,0002,289,664
6Nov 22, 2024 23:585,79241,116,70617,506,0001,029,0002,375,680
7Nov 22, 2024 23:585,79538,094,60617,515,0001,030,0002,269,184
8Nov 22, 2024 23:585,79640,699,32718,547,00002,289,664
9Nov 22, 2024 23:585,80638,873,19017,546,0001,032,0002,289,664