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 19:52джулисджулисScore: 5,333Success
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 19:525,30045,389,11315,963,000997,0002,293,760
2Jun 9, 2024 19:525,30344,229,07415,971,000998,0002,293,760
3Jun 9, 2024 19:525,31441,947,96915,005,0002,000,0002,457,600
4Jun 9, 2024 19:525,31742,866,85715,013,0002,001,0002,379,776
5Jun 9, 2024 19:525,31943,617,92016,021,0001,001,0002,375,680
6Jun 9, 2024 19:525,32043,016,36016,024,0001,001,0002,482,176
7Jun 9, 2024 19:525,33343,466,57016,062,0001,003,0002,293,760
8Jun 9, 2024 19:525,33843,463,31116,078,0001,004,0002,371,584
9Jun 9, 2024 19:525,36135,757,68216,145,0001,009,0002,371,584
10Jun 9, 2024 19:525,53575,507,83117,711,56302,244,608
11Jun 9, 2024 19:525,55379,309,29717,768,62402,248,704
12Jun 9, 2024 19:525,554107,589,31917,773,25602,252,800