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 00:06MatthiasMatthiasScore: 5,710Success
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 00:065,67737,781,60616,148,0002,018,0002,523,136
2Nov 23, 2024 00:065,70244,681,96116,220,0002,027,0002,289,664
3Nov 23, 2024 00:065,70339,014,39217,235,0001,013,0002,523,136
4Nov 23, 2024 00:065,70646,192,70716,231,0002,028,0002,289,664
5Nov 23, 2024 00:065,71050,295,37716,242,0002,030,0002,527,232
6Nov 23, 2024 00:065,73241,700,78516,305,0002,038,0002,265,088
7Nov 23, 2024 00:065,74636,107,59316,345,0002,043,0002,289,664
8Nov 23, 2024 00:065,74842,722,77917,371,0001,021,0002,289,664
9Nov 23, 2024 00:065,75743,972,67916,375,0002,046,0002,289,664