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 listJan 24, 2024 10:56AnSaAnSaScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 10:565,27142,943,70315,876,000992,0002,510,848
2Jan 24, 2024 10:565,27746,093,35214,901,0001,986,0002,281,472
3Jan 24, 2024 10:565,28243,660,79915,908,000994,0002,392,064
4Jan 24, 2024 10:565,28342,976,62215,911,000994,0002,387,968
5Jan 24, 2024 10:565,28734,147,30115,861,0001,057,0002,396,160
6Jan 24, 2024 10:565,28936,840,49515,929,000995,0002,281,472
7Jan 24, 2024 10:565,29243,325,77914,943,0001,992,0002,392,064
8Jan 24, 2024 10:565,29435,191,48714,949,0001,993,0002,396,160
9Jan 24, 2024 10:565,32940,195,42716,050,0001,003,0002,281,472
10Jan 24, 2024 10:565,45879,215,07517,466,61602,281,472
11Jan 24, 2024 10:565,47859,677,47417,529,39502,289,664
12Jan 24, 2024 10:565,50485,147,81017,611,56302,285,568