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 24, 2021 14:36Dmitry DolgopolovDmitry DolgopolovScore: 5,206Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 14:365,17840,888,64115,534,0001,035,0002,523,136
2May 24, 2021 14:365,17934,051,74515,537,0001,035,0002,265,088
3May 24, 2021 14:365,18437,313,15915,553,0001,036,0002,392,064
4May 24, 2021 14:365,19146,498,18116,610,00002,392,064
5May 24, 2021 14:365,19444,952,81716,622,00002,392,064
6May 24, 2021 14:365,19832,426,47116,635,00002,387,968
7May 24, 2021 14:365,20638,657,93715,619,0001,041,0002,265,088
8May 24, 2021 14:365,21340,232,54116,680,00002,265,088
9May 24, 2021 14:365,21839,457,42215,653,0001,043,0002,379,776
10May 24, 2021 14:365,38683,163,85017,236,67402,273,280
11May 24, 2021 14:365,401100,737,83117,283,59602,277,376
12May 24, 2021 14:365,40890,881,96817,306,33902,285,568