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:18Yuriy LyfenkoYuriy LyfenkoScore: 5,787Success
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:185,734540,538,37816,310,0002,038,0002,334,720
2Jul 13, 2021 19:185,749540,863,74517,376,0001,022,0002,330,624
3Jul 13, 2021 19:185,758540,446,73416,377,0002,047,0002,342,912
4Jul 13, 2021 19:185,761543,979,50717,412,0001,024,0002,523,136
5Jul 13, 2021 19:185,767541,062,70417,429,0001,025,0002,330,624
6Jul 13, 2021 19:185,781545,663,01617,471,0001,027,0002,330,624
7Jul 13, 2021 19:185,787545,953,50116,460,0002,057,0002,326,528
8Jul 13, 2021 19:185,799581,246,88218,555,74402,232,320
9Jul 13, 2021 19:185,802544,190,33917,534,0001,031,0002,330,624
10Jul 13, 2021 19:185,830572,306,71518,655,59902,228,224
11Jul 13, 2021 19:185,839583,601,97218,684,02902,252,800
12Jul 13, 2021 19:185,878554,646,79015,839,0002,969,0002,330,624