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 listMar 7, 2024 07:57Huy Duc LeHuy Duc LeScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:574,60335,012,95613,676,0001,052,0002,265,088
2Mar 7, 2024 07:574,60428,019,59314,732,00002,396,160
3Mar 7, 2024 07:574,64430,921,54512,881,0001,981,0002,265,088
4Mar 7, 2024 07:574,64634,552,15113,875,000991,0002,265,088
5Mar 7, 2024 07:574,64641,774,31213,875,000991,0002,265,088
6Mar 7, 2024 07:574,64631,541,09413,875,000991,0002,265,088
7Mar 7, 2024 07:574,65041,814,09413,888,000992,0002,265,088
8Mar 7, 2024 07:574,65332,375,07813,899,000992,0002,527,232
9Mar 7, 2024 07:574,65541,930,16912,909,0001,986,0002,383,872
10Mar 7, 2024 07:574,835116,508,00215,473,10702,289,664
11Mar 7, 2024 07:574,88585,397,15015,631,10702,281,472
12Mar 7, 2024 07:574,91966,125,26515,741,02302,277,376