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 listDec 19, 2023 05:32Kenneth MaplesKenneth MaplesScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 05:325,19937,034,16715,598,0001,039,0002,265,088
2Dec 19, 2023 05:325,20642,011,91615,618,0001,041,0002,265,088
3Dec 19, 2023 05:325,21743,257,82416,694,00002,396,160
4Dec 19, 2023 05:325,22047,318,10215,661,0001,044,0002,527,232
5Dec 19, 2023 05:325,26643,791,21415,861,000991,0002,265,088
6Dec 19, 2023 05:325,27245,918,13215,877,000992,0002,265,088
7Dec 19, 2023 05:325,27240,284,57815,878,000992,0002,265,088
8Dec 19, 2023 05:325,27234,673,11514,887,0001,984,0002,265,088
9Dec 19, 2023 05:325,27934,875,61714,905,0001,987,0002,265,088
10Dec 19, 2023 05:325,38983,930,69717,244,37202,273,280
11Dec 19, 2023 05:325,43774,909,82117,398,39902,273,280
12Dec 19, 2023 05:325,44571,098,12717,424,71602,273,280