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:11BenBenScore: 4,553Success
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:114,52035,851,32013,430,0001,033,0002,387,968
2Jul 28, 2024 09:114,52131,992,53914,468,00002,396,160
3Jul 28, 2024 09:114,53633,125,02414,514,00002,265,088
4Jul 28, 2024 09:114,54040,875,17814,529,00002,392,064
5Jul 28, 2024 09:114,54233,812,67814,534,00002,265,088
6Jul 28, 2024 09:114,54431,555,38414,542,00002,265,088
7Jul 28, 2024 09:114,55332,607,13914,571,00002,265,088
8Jul 28, 2024 09:114,55930,719,99213,547,0001,042,0002,510,848
9Jul 28, 2024 09:114,57440,480,04913,593,0001,045,0002,396,160
10Jul 28, 2024 09:114,79590,756,95515,343,09402,289,664
11Jul 28, 2024 09:114,79859,786,40015,354,75102,281,472
12Jul 28, 2024 09:114,80292,251,02015,366,16102,289,664