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 12, 2024 03:35Yuriy LyfenkoYuriy LyfenkoScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:354,438635,375,32313,188,0001,014,0002,519,040
2Jun 12, 2024 03:354,443641,419,16512,186,0002,031,0002,260,992
3Jun 12, 2024 03:354,443636,262,01413,203,0001,015,0002,260,992
4Jun 12, 2024 03:354,446638,807,57914,228,00002,523,136
5Jun 12, 2024 03:354,454635,769,05113,235,0001,018,0002,523,136
6Jun 12, 2024 03:354,455638,224,93914,256,00002,260,992
7Jun 12, 2024 03:354,458637,194,62913,246,0001,018,0002,523,136
8Jun 12, 2024 03:354,465640,730,34513,269,0001,020,0002,260,992
9Jun 12, 2024 03:354,477636,808,24213,304,0001,023,0002,260,992
10Jun 12, 2024 03:354,627672,037,32514,806,56802,273,280
11Jun 12, 2024 03:354,641675,082,85114,851,32802,240,512
12Jun 12, 2024 03:354,666676,662,02414,931,08502,240,512