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 27, 2022 11:29Robert BurkeRobert BurkeScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 11:294,43628,388,42112,167,0002,027,0002,445,312
2Jul 27, 2022 11:294,44429,208,03712,191,0002,031,0002,281,472
3Jul 27, 2022 11:294,44633,486,07712,195,0002,032,0002,449,408
4Jul 27, 2022 11:294,44836,688,13312,202,0002,033,0002,453,504
5Jul 27, 2022 11:294,44932,046,74112,204,0002,034,0002,453,504
6Jul 27, 2022 11:294,45332,895,54612,215,0002,035,0002,449,408
7Jul 27, 2022 11:294,46030,544,76912,233,0002,038,0002,445,312
8Jul 27, 2022 11:294,46226,286,08512,239,0002,039,0002,273,280
9Jul 27, 2022 11:294,49233,462,05313,348,0001,026,0002,281,472
10Jul 27, 2022 11:294,71976,234,12915,102,35702,199,552
11Jul 27, 2022 11:294,73759,762,04515,158,18302,203,648
12Jul 27, 2022 11:294,74278,311,39115,174,91802,203,648