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 listJun 3, 2021 16:09Yuriy LyfenkoYuriy LyfenkoScore: 5,089Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:095,021543,384,11714,060,0002,008,0002,281,472
2Jun 3, 2021 16:095,028540,206,79114,078,0002,011,0002,273,280
3Jun 3, 2021 16:095,034548,250,63914,095,0002,013,0002,273,280
4Jun 3, 2021 16:095,041541,064,73614,114,0002,016,0002,281,472
5Jun 3, 2021 16:095,054545,813,97214,152,0002,021,0002,281,472
6Jun 3, 2021 16:095,060545,786,34214,168,0002,024,0002,273,280
7Jun 3, 2021 16:095,089538,029,11715,267,0001,017,0002,273,280
8Jun 3, 2021 16:095,089539,766,29915,269,0001,017,0002,273,280
9Jun 3, 2021 16:095,100539,644,61715,301,0001,020,0002,281,472
10Jun 3, 2021 16:095,175574,907,28016,560,88102,256,896
11Jun 3, 2021 16:095,185581,567,59216,591,26102,256,896
12Jun 3, 2021 16:095,210578,551,39416,673,31102,256,896