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 listJul 25, 2021 19:48Adam FolwarcznyAdam FolwarcznyScore: 5,787Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 19:485,74966,932,86718,395,41602,191,360
2Jul 25, 2021 19:485,75281,393,44618,405,22702,306,048
3Jul 25, 2021 19:495,78781,977,52818,518,66302,191,360
4Jul 25, 2021 19:495,78761,492,78118,519,40602,318,336
5Jul 25, 2021 19:495,79282,832,13418,532,89802,187,264
6Jul 25, 2021 19:485,823105,100,29918,633,75502,318,336