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 listJul 25, 2024 16:11Yuriy LyfenkoYuriy LyfenkoScore: 4,500Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 16:114,441535,693,89612,182,0002,030,0002,265,088
2Jul 25, 2024 16:114,453534,665,83813,231,0001,017,0002,265,088
3Jul 25, 2024 16:114,453534,472,05413,232,0001,017,0002,523,136
4Jul 25, 2024 16:114,472538,371,46514,309,00002,523,136
5Jul 25, 2024 16:114,472538,240,98114,311,00002,400,256
6Jul 25, 2024 16:114,488546,297,49614,360,00002,523,136
7Jul 25, 2024 16:114,500538,760,26413,371,0001,028,0002,387,968
8Jul 25, 2024 16:114,500538,708,42614,400,00002,523,136
9Jul 25, 2024 16:114,500537,773,85013,373,0001,028,0002,260,992
10Jul 25, 2024 16:114,668577,211,25714,937,92802,240,512
11Jul 25, 2024 16:114,670581,769,44414,942,47802,338,816
12Jul 25, 2024 16:114,684590,066,83014,989,43702,285,568