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:34Yuriy LyfenkoYuriy LyfenkoScore: 5,680Success
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:345,646540,720,09016,061,0002,007,0002,330,624
2Jul 13, 2021 19:345,650547,056,32716,072,0002,009,0002,330,624
3Jul 13, 2021 19:345,651541,957,62716,074,0002,009,0002,334,720
4Jul 13, 2021 19:345,663537,278,33716,110,0002,013,0002,330,624
5Jul 13, 2021 19:345,672539,360,34516,134,0002,016,0002,330,624
6Jul 13, 2021 19:345,672542,296,00516,135,0002,016,0002,330,624
7Jul 13, 2021 19:345,680544,348,47916,157,0002,019,0002,527,232
8Jul 13, 2021 19:345,688540,763,28115,167,0003,033,0002,334,720
9Jul 13, 2021 19:345,698577,829,19618,232,54902,215,936
10Jul 13, 2021 19:345,713595,026,86918,282,71402,224,128
11Jul 13, 2021 19:345,724549,099,36416,283,0002,035,0002,334,720
12Jul 13, 2021 19:345,748590,657,54218,394,50502,232,320