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 6, 2024 23:38CountHarebourgCountHarebourgScore: 5,957Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 23:385,94740,368,13117,028,0002,003,0002,273,280
2Nov 6, 2024 23:385,95344,288,12017,044,0002,005,0002,531,328
3Nov 6, 2024 23:385,95448,843,21718,051,0001,002,0002,535,424
4Nov 6, 2024 23:385,95750,951,28117,057,0002,006,0002,289,664
5Nov 6, 2024 23:385,95751,878,62518,060,0001,003,0002,289,664
6Nov 6, 2024 23:385,99345,947,53517,158,0002,018,0002,273,280