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 5, 2023 20:36Victor MuñozVictor MuñozScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2023 20:365,29844,888,96114,958,0001,994,0002,387,968
2Jun 5, 2023 20:365,30543,877,75614,980,0001,997,0002,392,064
3Jun 5, 2023 20:365,30631,559,18614,983,0001,997,0002,387,968
4Jun 5, 2023 20:365,31441,557,09015,004,0002,000,0002,527,232
5Jun 5, 2023 20:365,32232,961,74515,026,0002,003,0002,510,848
6Jun 5, 2023 20:365,32738,030,44415,042,0002,005,0002,387,968
7Jun 5, 2023 20:365,33745,837,21015,068,0002,009,0002,265,088
8Jun 5, 2023 20:365,34155,374,90016,086,0001,005,0002,523,136
9Jun 5, 2023 20:365,34244,738,33715,084,0002,011,0002,265,088
10Jun 5, 2023 20:365,49460,436,86117,580,77002,289,664
11Jun 5, 2023 20:365,50577,095,58817,617,38502,281,472
12Jun 5, 2023 20:365,51979,735,52317,660,09602,285,568