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 listAug 28, 2023 17:59Ilya AniskovetsIlya AniskovetsScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2023 17:595,27143,040,80215,875,000992,0002,265,088
2Aug 28, 2023 17:595,27233,721,33915,879,000992,0002,265,088
3Aug 28, 2023 17:595,27335,187,32614,888,0001,985,0002,527,232
4Aug 28, 2023 17:595,27341,248,33914,888,0001,985,0002,265,088
5Aug 28, 2023 17:595,27333,761,94914,889,0001,985,0002,392,064
6Aug 28, 2023 17:595,27435,751,61215,885,000992,0002,383,872
7Aug 28, 2023 17:595,27734,626,56614,900,0001,986,0002,265,088
8Aug 28, 2023 17:595,29733,948,11714,955,0001,994,0002,392,064
9Aug 28, 2023 17:595,29933,006,49715,959,000997,0002,265,088
10Aug 28, 2023 17:595,49090,141,12817,568,08202,244,608
11Aug 28, 2023 17:595,50874,885,81617,626,60802,281,472
12Aug 28, 2023 17:595,53391,298,96617,706,99802,277,376