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 16, 2021 23:00Yuriy LyfenkoYuriy LyfenkoScore: 5,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 23:005,6112,998,713,57414,964,0002,992,0002,260,992
2May 16, 2021 23:005,6162,971,663,50816,972,000998,0002,383,872
3May 16, 2021 23:005,6222,912,531,50516,992,000999,0002,523,136
4May 16, 2021 23:005,6261,600,120,93417,004,0001,000,0002,523,136
5May 16, 2021 23:005,6332,304,944,95916,022,0002,002,0002,519,040
6May 16, 2021 23:005,6341,021,180,51816,025,0002,003,0002,260,992
7May 16, 2021 23:005,640914,093,35017,045,0001,002,0002,523,136
8May 16, 2021 23:005,6521,513,226,82017,081,0001,004,0002,519,040
9May 16, 2021 23:005,6664,225,446,88018,130,00002,519,040
10May 16, 2021 23:005,949870,663,95319,035,21102,277,376
11May 16, 2021 23:005,963753,729,48019,081,39302,285,568
12May 16, 2021 23:005,9764,238,573,89519,124,64002,281,472