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 listJul 31, 2024 04:26BenBenScore: 4,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 04:264,60631,094,70613,687,0001,052,0002,375,680
2Jul 31, 2024 04:264,64237,771,11014,855,00002,375,680
3Jul 31, 2024 04:264,64533,832,80713,874,000991,0002,265,088
4Jul 31, 2024 04:264,64832,111,84314,873,00002,387,968
5Jul 31, 2024 04:264,65146,893,67113,890,000992,0002,375,680
6Jul 31, 2024 04:264,65141,903,10114,882,00002,387,968
7Jul 31, 2024 04:264,65233,275,46312,901,0001,984,0002,375,680
8Jul 31, 2024 04:264,65430,121,00013,901,000992,0002,265,088
9Jul 31, 2024 04:264,66839,729,62512,946,0001,991,0002,383,872
10Jul 31, 2024 04:264,91672,086,89715,732,42902,273,280
11Jul 31, 2024 04:264,96188,742,28215,875,39302,265,088
12Jul 31, 2024 04:265,03772,532,80216,118,89302,277,376