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 listFeb 19, 2024 07:55Huy Duc LeHuy Duc LeScore: 5,521Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 07:555,46742,264,37616,465,0001,029,0002,293,760
2Feb 19, 2024 07:555,48943,493,07716,532,0001,033,0002,293,760
3Feb 19, 2024 07:555,49146,319,15716,538,0001,033,0002,293,760
4Feb 19, 2024 07:555,51248,346,93016,601,0001,037,0002,293,760
5Feb 19, 2024 07:555,51549,394,45516,611,0001,038,0002,277,376
6Feb 19, 2024 07:555,51744,705,74716,617,0001,038,0002,269,184
7Feb 19, 2024 07:555,52142,779,43716,627,0001,039,0002,523,136
8Feb 19, 2024 07:555,52834,660,90216,649,0001,040,0002,523,136
9Feb 19, 2024 07:555,58048,120,29815,872,0001,984,0002,527,232
10Feb 19, 2024 07:555,68687,544,81918,196,39902,293,760
11Feb 19, 2024 07:555,703104,818,37518,250,61402,306,048
12Feb 19, 2024 07:555,73087,590,56618,336,16202,289,664