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 listMay 3, 2025 18:19lukostlukostScore: 4,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 18:194,41332,207,55212,105,0002,017,0002,539,520
2May 3, 2025 18:194,43631,493,85712,167,0002,027,0002,539,520
3May 3, 2025 18:194,43728,525,77212,171,0002,028,0002,539,520
4May 3, 2025 18:194,43727,449,07612,171,0002,028,0002,535,424
5May 3, 2025 18:194,43929,469,18112,176,0002,029,0002,539,520
6May 3, 2025 18:194,44529,372,35913,208,0001,016,0002,531,328
7May 3, 2025 18:194,44840,519,76212,199,0002,033,0002,539,520
8May 3, 2025 18:194,47529,971,44313,298,0001,022,0002,453,504
9May 3, 2025 18:194,52440,415,46613,442,0001,034,0002,277,376