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 8, 2024 10:32джулисджулисScore: 5,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 10:325,66539,605,28716,114,0002,014,0002,371,584
2Jun 8, 2024 10:325,67743,387,68416,149,0002,018,0002,293,760
3Jun 8, 2024 10:325,69244,985,77016,191,0002,023,0002,363,392
4Jun 8, 2024 10:325,69443,740,38116,196,0002,024,0002,289,664
5Jun 8, 2024 10:325,69441,145,88317,209,0001,012,0002,379,776
6Jun 8, 2024 10:325,69543,053,68316,200,0002,025,0002,502,656
7Jun 8, 2024 10:325,69742,495,52017,218,0001,012,0002,379,776
8Jun 8, 2024 10:325,73240,116,70818,341,00002,293,760
9Jun 8, 2024 10:325,73841,457,37317,342,0001,020,0002,293,760
10Jun 8, 2024 10:325,89784,345,65118,870,50802,232,320
11Jun 8, 2024 10:325,91291,970,05718,917,48902,236,416
12Jun 8, 2024 10:325,947103,600,20019,030,39402,379,776