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:24Yuriy LyfenkoYuriy LyfenkoScore: 5,702Success
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:245,644549,291,69516,054,0002,006,0002,527,232
2Jul 13, 2021 19:245,648542,182,44215,060,0003,012,0002,330,624
3Jul 13, 2021 19:245,667543,740,58516,120,0002,015,0002,334,720
4Jul 13, 2021 19:245,674540,201,34516,140,0002,017,0002,330,624
5Jul 13, 2021 19:245,686538,583,30617,184,0001,010,0002,330,624
6Jul 13, 2021 19:245,701544,622,10015,203,0003,040,0002,330,624
7Jul 13, 2021 19:245,702538,289,53816,219,0002,027,0002,531,328
8Jul 13, 2021 19:245,708545,460,75616,238,0002,029,0002,330,624
9Jul 13, 2021 19:245,713540,289,27616,251,0002,031,0002,330,624
10Jul 13, 2021 19:245,720589,623,95618,305,03102,215,936
11Jul 13, 2021 19:245,722571,698,30118,310,10102,232,320
12Jul 13, 2021 19:245,757574,490,50018,421,50502,256,896