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 listDec 15, 2024 00:21MatthiasMatthiasScore: 5,000Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2024 00:214,97935,354,55614,939,000995,0002,523,136
2Dec 15, 2024 00:214,98734,346,49314,960,000997,0002,281,472
3Dec 15, 2024 00:214,99545,501,97813,986,0001,998,0002,281,472
4Dec 15, 2024 00:215,00035,937,12414,001,0002,000,0002,281,472
5Dec 15, 2024 00:215,01041,439,81414,028,0002,004,0002,523,136
6Dec 15, 2024 00:215,17243,555,26016,549,00002,523,136