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:37джулисджулисScore: 5,335Success
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:375,30035,446,53115,963,000997,0002,363,392
2Jun 9, 2024 20:375,30142,159,17714,969,0001,995,0002,293,760
3Jun 9, 2024 20:375,31348,417,12515,002,0002,000,0002,293,760
4Jun 9, 2024 20:375,31732,356,14515,012,0002,001,0002,293,760
5Jun 9, 2024 20:375,31843,425,19115,017,0002,002,0002,375,680
6Jun 9, 2024 20:375,32143,282,89915,023,0002,003,0002,293,760
7Jun 9, 2024 20:375,33545,316,58415,063,0002,008,0002,293,760
8Jun 9, 2024 20:375,34452,943,55016,095,0001,005,0002,473,984
9Jun 9, 2024 20:375,34844,389,17216,106,0001,006,0002,293,760
10Jun 9, 2024 20:375,61079,446,60117,953,30402,252,800
11Jun 9, 2024 20:375,71777,388,70318,295,79602,256,896
12Jun 9, 2024 20:375,74492,098,29618,381,23002,252,800