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 13, 2024 12:56AndreyTSAndreyTSScore: 5,500Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:565,46435,810,65216,458,0001,028,0002,289,664
2Jun 13, 2024 12:565,46833,291,87416,469,0001,029,0002,281,472
3Jun 13, 2024 12:565,47241,711,93117,509,00002,277,376
4Jun 13, 2024 12:565,47340,679,10616,484,0001,030,0002,289,664
5Jun 13, 2024 12:565,49845,874,64016,558,0001,034,0002,523,136
6Jun 13, 2024 12:565,49838,318,67916,560,0001,035,0002,273,280
7Jun 13, 2024 12:565,50035,272,30616,565,0001,035,0002,289,664
8Jun 13, 2024 12:565,50344,226,63416,575,0001,035,0002,289,664
9Jun 13, 2024 12:565,58242,928,15415,879,0001,984,0002,277,376
10Jun 13, 2024 12:565,72856,471,06918,328,60302,174,976
11Jun 13, 2024 12:565,73999,119,76718,365,86302,301,952
12Jun 13, 2024 12:565,74383,232,13118,378,23602,174,976