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 13, 2024 03:23джулисджулисScore: 5,270Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 03:215,19646,066,60415,589,0001,039,0002,293,760
2Jun 13, 2024 03:215,21047,552,26015,631,0001,042,0002,371,584
3Jun 13, 2024 03:215,21541,839,65815,645,0001,043,0002,293,760
4Jun 13, 2024 03:235,21732,135,67516,695,00002,510,848
5Jun 13, 2024 03:235,22147,352,98315,664,0001,044,0002,293,760
6Jun 13, 2024 03:235,22148,061,80515,663,0001,044,0002,293,760
7Jun 13, 2024 03:215,22135,364,96115,663,0001,044,0002,293,760
8Jun 13, 2024 03:215,22938,079,39016,733,00002,293,760
9Jun 13, 2024 03:235,23041,471,35316,736,00002,375,680
10Jun 13, 2024 03:235,26741,418,03715,863,000991,0002,293,760
11Jun 13, 2024 03:235,26734,005,89914,872,0001,983,0002,379,776
12Jun 13, 2024 03:235,26943,607,86915,869,000991,0002,293,760
13Jun 13, 2024 03:215,27036,268,47614,881,0001,984,0002,293,760
14Jun 13, 2024 03:235,27541,089,85814,895,0001,986,0002,465,792
15Jun 13, 2024 03:215,27642,855,24615,890,000993,0002,293,760
16Jun 13, 2024 03:215,27745,184,86714,900,0001,986,0002,375,680
17Jun 13, 2024 03:215,27746,253,59215,893,000993,0002,293,760
18Jun 13, 2024 03:235,27835,018,94416,888,00002,293,760
19Jun 13, 2024 03:215,43275,281,81417,383,77802,244,608
20Jun 13, 2024 03:235,46274,631,60517,479,51002,244,608
21Jun 13, 2024 03:215,47382,830,81117,513,02802,252,800
22Jun 13, 2024 03:235,55156,789,14017,762,86902,252,800
23Jun 13, 2024 03:235,56385,333,26517,800,83802,236,416
24Jun 13, 2024 03:215,60976,800,04817,948,18302,260,992