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 listJan 23, 2024 18:59AnSaAnSaScore: 5,233Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 18:595,20444,957,19116,652,00002,281,472
2Jan 23, 2024 18:595,20743,485,58316,663,00002,281,472
3Jan 23, 2024 18:595,20947,939,47315,629,0001,041,0002,400,256
4Jan 23, 2024 18:595,21149,580,86315,633,0001,042,0002,396,160
5Jan 23, 2024 18:595,21345,581,70816,681,00002,383,872
6Jan 23, 2024 18:595,21740,993,36315,651,0001,043,0002,281,472
7Jan 23, 2024 18:595,23344,715,05715,700,0001,046,0002,281,472
8Jan 23, 2024 18:595,27341,521,44816,874,00002,387,968
9Jan 23, 2024 18:595,27746,178,83216,885,00002,281,472
10Jan 23, 2024 18:595,42085,947,62217,345,19002,297,856
11Jan 23, 2024 18:595,44079,777,26117,406,63202,293,760
12Jan 23, 2024 18:595,45273,812,41817,445,96602,281,472