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 listFeb 22, 2024 12:31Huy Duc LeHuy Duc LeScore: 5,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:315,46843,959,92216,469,0001,029,0002,293,760
2Feb 22, 2024 12:315,47441,623,71116,486,0001,030,0002,293,760
3Feb 22, 2024 12:315,47740,857,54116,496,0001,031,0002,531,328
4Feb 22, 2024 12:315,48440,107,66216,518,0001,032,0002,527,232
5Feb 22, 2024 12:315,48637,879,04816,522,0001,032,0002,367,488
6Feb 22, 2024 12:315,48643,952,41716,523,0001,032,0002,293,760
7Feb 22, 2024 12:315,49539,331,52217,584,00002,400,256
8Feb 22, 2024 12:315,51046,234,94116,595,0001,037,0002,293,760
9Feb 22, 2024 12:315,52039,536,57216,625,0001,039,0002,293,760
10Feb 22, 2024 12:315,69883,552,06618,232,28102,297,856
11Feb 22, 2024 12:315,701114,918,72018,242,93102,260,992
12Feb 22, 2024 12:315,71867,730,01418,296,07002,301,952