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 6, 2021 01:07Yuriy LyfenkoYuriy LyfenkoScore: 5,089Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 01:075,0191,042,024,88414,055,0002,007,0002,265,088
2Jul 6, 2021 01:075,0341,048,907,67314,097,0002,013,0002,523,136
3Jul 6, 2021 01:075,0381,042,193,93114,107,0002,015,0002,265,088
4Jul 6, 2021 01:075,0511,042,590,68214,142,0002,020,0002,260,992
5Jul 6, 2021 01:075,0601,037,810,40516,192,00002,260,992
6Jul 6, 2021 01:075,0711,046,377,39415,214,0001,014,0002,523,136
7Jul 6, 2021 01:075,0891,038,796,82216,286,00002,523,136
8Jul 6, 2021 01:075,0901,036,863,02716,287,00002,523,136
9Jul 6, 2021 01:075,1111,037,167,11015,334,0001,022,0002,523,136
10Jul 6, 2021 01:075,1891,067,929,06416,604,65702,277,376
11Jul 6, 2021 01:075,2021,081,665,60516,646,70302,277,376
12Jul 6, 2021 01:075,2221,072,340,57516,708,94302,240,512