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 13, 2021 19:46Yuriy LyfenkoYuriy LyfenkoScore: 5,699Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:465,646546,464,75516,060,0002,007,0002,334,720
2Jul 13, 2021 19:465,654547,333,21015,079,0003,015,0002,519,040
3Jul 13, 2021 19:465,656542,031,50417,034,0001,064,0002,334,720
4Jul 13, 2021 19:465,667541,874,55615,113,0003,022,0002,322,432
5Jul 13, 2021 19:465,675541,547,64516,143,0002,017,0002,330,624
6Jul 13, 2021 19:465,688575,276,95318,202,56002,256,896
7Jul 13, 2021 19:465,699542,104,39816,210,0002,026,0002,330,624
8Jul 13, 2021 19:465,700542,087,57516,214,0002,026,0002,519,040
9Jul 13, 2021 19:465,704543,714,79916,224,0002,028,0002,523,136
10Jul 13, 2021 19:465,718548,387,53615,247,0003,049,0002,330,624
11Jul 13, 2021 19:465,732571,181,66718,341,89302,220,032
12Jul 13, 2021 19:465,765576,364,76718,446,43502,232,320