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 13, 2024 19:07kytanskytansScore: 5,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 19:075,47444,791,85316,488,0001,030,0002,293,760
2Jul 13, 2024 19:075,48938,164,67816,531,0001,033,0002,293,760
3Jul 13, 2024 19:075,49239,180,51516,541,0001,033,0002,281,472
4Jul 13, 2024 19:075,51035,822,03317,632,00002,277,376
5Jul 13, 2024 19:075,51344,348,93916,606,0001,037,0002,293,760
6Jul 13, 2024 19:075,51845,728,47616,619,0001,038,0002,293,760
7Jul 13, 2024 19:075,52240,400,05216,632,0001,039,0002,293,760
8Jul 13, 2024 19:075,52443,906,19116,639,0001,039,0002,281,472
9Jul 13, 2024 19:075,57333,983,22116,842,000990,0002,293,760
10Jul 13, 2024 19:075,71977,722,67718,299,77302,297,856
11Jul 13, 2024 19:075,73486,207,03618,349,83802,301,952
12Jul 13, 2024 19:075,74481,793,69118,382,30002,306,048