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 listApr 23, 2025 00:01vahookvahookScore: 4,213Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 00:014,17334,197,68613,353,00002,273,280
2Apr 23, 2025 00:014,18533,017,27113,391,00002,486,272
3Apr 23, 2025 00:014,18830,557,93713,401,00002,490,368
4Apr 23, 2025 00:014,19130,626,99411,496,0001,916,0002,523,136
5Apr 23, 2025 00:014,19732,598,21511,513,0001,918,0002,494,464
6Apr 23, 2025 00:014,20333,797,28013,449,00002,498,560
7Apr 23, 2025 00:014,20430,265,10313,452,00002,494,464
8Apr 23, 2025 00:014,20427,184,81813,453,00002,490,368
9Apr 23, 2025 00:014,21326,927,24513,481,00002,494,464
10Apr 23, 2025 00:014,21328,073,68213,481,00002,502,656
11Apr 23, 2025 00:014,21629,263,65113,491,00002,498,560
12Apr 23, 2025 00:014,22026,969,87013,505,00002,494,464
13Apr 23, 2025 00:014,22235,128,91813,510,00002,273,280
14Apr 23, 2025 00:014,22530,470,34313,520,00002,498,560
15Apr 23, 2025 00:014,22728,206,94013,526,00002,273,280
16Apr 23, 2025 00:014,23228,106,28413,542,00002,273,280
17Apr 23, 2025 00:014,24336,337,90213,578,00002,273,280
18Apr 23, 2025 00:014,28334,867,61613,705,00002,273,280