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 28, 2024 09:10BenBenScore: 4,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:104,70244,146,46513,039,0002,006,0002,527,232
2Jul 28, 2024 09:104,71335,285,39213,070,0002,010,0002,265,088
3Jul 28, 2024 09:104,71333,035,63213,071,0002,010,0002,265,088
4Jul 28, 2024 09:104,72035,484,07913,091,0002,014,0002,527,232
5Jul 28, 2024 09:104,72546,087,03614,112,0001,008,0002,375,680
6Jul 28, 2024 09:104,74231,982,65713,152,0002,023,0002,396,160
7Jul 28, 2024 09:104,74731,286,68214,179,0001,012,0002,265,088
8Jul 28, 2024 09:104,76835,753,75313,225,0002,034,0002,387,968
9Jul 28, 2024 09:104,78840,330,93114,299,0001,021,0002,265,088
10Jul 28, 2024 09:104,98473,955,54515,947,78502,289,664
11Jul 28, 2024 09:104,99584,623,82215,985,48002,281,472
12Jul 28, 2024 09:105,00068,722,01715,999,23202,289,664