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 13:06Yuriy LyfenkoYuriy LyfenkoScore: 5,462Success
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 13:065,428331,243,03915,440,0001,930,0002,387,968
2May 16, 2021 13:065,432333,919,55616,418,000965,0002,265,088
3May 16, 2021 13:065,434336,459,25615,457,0001,932,0002,269,184
4May 16, 2021 13:065,440331,660,24517,407,00002,392,064
5May 16, 2021 13:065,454339,920,64515,514,0001,939,0002,269,184
6May 16, 2021 13:065,458333,118,04015,525,0001,940,0002,400,256
7May 16, 2021 13:065,462334,388,99315,537,0001,942,0002,269,184
8May 16, 2021 13:065,463338,685,45315,538,0001,942,0002,265,088
9May 16, 2021 13:065,525333,778,06415,715,0001,964,0002,269,184
10May 16, 2021 13:065,583370,174,07917,865,04202,273,280
11May 16, 2021 13:065,597385,071,13217,908,93302,281,472
12May 16, 2021 13:065,613363,989,39817,961,76502,277,376