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 29, 2021 17:34Yuriy LyfenkoYuriy LyfenkoScore: 5,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:345,03138,032,25414,087,0002,012,0002,281,472
2May 29, 2021 17:345,03839,065,87414,106,0002,015,0002,281,472
3May 29, 2021 17:345,04136,295,64515,123,0001,008,0002,396,160
4May 29, 2021 17:345,04643,519,18614,130,0002,018,0002,273,280
5May 29, 2021 17:345,05441,900,94715,163,0001,010,0002,400,256
6May 29, 2021 17:345,05935,548,19614,165,0002,023,0002,281,472
7May 29, 2021 17:345,06037,622,15414,168,0002,024,0002,281,472
8May 29, 2021 17:345,06838,746,23115,206,0001,013,0002,281,472
9May 29, 2021 17:345,07542,746,82315,225,0001,015,0002,404,352
10May 29, 2021 17:345,21576,107,16316,686,54302,285,568
11May 29, 2021 17:345,21995,303,53816,701,20802,293,760
12May 29, 2021 17:345,25792,118,28816,821,22902,293,760