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 03:52BenBenScore: 4,649Success
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 03:524,63233,401,11413,835,000988,0002,383,872
2Jul 31, 2024 03:524,64242,249,76612,875,0001,980,0002,379,776
3Jul 31, 2024 03:524,64432,161,55912,880,0001,981,0002,375,680
4Jul 31, 2024 03:524,64731,085,12212,887,0001,982,0002,265,088
5Jul 31, 2024 03:524,64738,604,06613,879,000991,0002,502,656
6Jul 31, 2024 03:524,64943,176,11312,894,0001,983,0002,265,088
7Jul 31, 2024 03:524,64934,174,75113,886,000991,0002,367,488
8Jul 31, 2024 03:524,65145,110,79512,900,0001,984,0002,379,776
9Jul 31, 2024 03:524,65331,660,44414,888,00002,269,184
10Jul 31, 2024 03:524,90572,313,24615,694,98602,265,088
11Jul 31, 2024 03:524,91178,761,15015,714,44302,232,320
12Jul 31, 2024 03:525,00164,730,86616,002,64502,269,184