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 8, 2021 16:53Yuriy LyfenkoYuriy LyfenkoScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:534,417539,453,26812,115,0002,019,0002,265,088
2Jul 8, 2021 16:534,434537,498,83012,163,0002,027,0002,523,136
3Jul 8, 2021 16:534,443540,975,42712,186,0002,031,0002,260,992
4Jul 8, 2021 16:534,445541,471,68512,192,0002,032,0002,265,088
5Jul 8, 2021 16:534,446542,278,36413,212,0001,016,0002,527,232
6Jul 8, 2021 16:534,450541,405,71913,223,0001,017,0002,260,992
7Jul 8, 2021 16:534,453543,654,71313,231,0001,017,0002,392,064
8Jul 8, 2021 16:534,453542,116,64614,248,00002,265,088
9Jul 8, 2021 16:534,466539,103,84113,270,0001,020,0002,392,064
10Jul 8, 2021 16:534,594567,962,87714,699,94702,240,512
11Jul 8, 2021 16:534,607571,671,22714,743,64202,277,376
12Jul 8, 2021 16:534,617568,448,59814,773,93302,281,472