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 listJun 9, 2024 20:30джулисджулисScore: 5,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:305,34734,858,68515,097,0002,012,0002,293,760
2Jun 9, 2024 20:305,36342,528,40015,142,0002,018,0002,293,760
3Jun 9, 2024 20:305,36636,698,50016,161,0001,010,0002,506,752
4Jun 9, 2024 20:305,37239,559,25115,167,0002,022,0002,367,488
5Jun 9, 2024 20:305,37945,482,86815,187,0002,025,0002,293,760
6Jun 9, 2024 20:305,38844,186,66316,229,0001,014,0002,293,760
7Jun 9, 2024 20:305,39032,904,89116,235,0001,014,0002,371,584
8Jun 9, 2024 20:305,40034,273,58916,264,0001,016,0002,375,680
9Jun 9, 2024 20:305,40146,868,75915,251,0002,033,0002,375,680
10Jun 9, 2024 20:305,60069,565,98617,921,52402,236,416
11Jun 9, 2024 20:305,61177,332,24417,955,79202,256,896
12Jun 9, 2024 20:305,66882,093,35018,136,91602,244,608