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 listMay 13, 2021 23:01Yuriy LyfenkoYuriy LyfenkoScore: 5,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:015,43941,201,09117,406,00002,260,992
2May 13, 2021 23:015,44451,885,76016,396,0001,024,0002,396,160
3May 13, 2021 23:015,45140,181,82317,444,00002,523,136
4May 13, 2021 23:015,45535,823,22416,429,0001,026,0002,519,040
5May 13, 2021 23:015,46040,257,28817,473,00002,506,752
6May 13, 2021 23:015,46843,104,88315,439,0002,058,0002,404,352
7May 13, 2021 23:015,47545,588,89516,491,0001,030,0002,396,160
8May 13, 2021 23:015,47834,782,31217,529,00002,387,968
9May 13, 2021 23:015,58736,688,81115,891,0001,986,0002,482,176
10May 13, 2021 23:015,63383,197,22818,026,72502,277,376
11May 13, 2021 23:015,63367,568,26618,024,45402,277,376
12May 13, 2021 23:015,651101,069,24518,082,56602,281,472