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 16, 2024 14:49AnSaAnSaScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 14:495,52350,761,34415,595,0002,079,0002,281,472
2Jun 16, 2024 14:495,53344,509,92815,624,0002,083,0002,273,280
3Jun 16, 2024 14:495,53843,688,88116,681,0001,042,0002,281,472
4Jun 16, 2024 14:495,57935,920,46614,879,0002,975,0002,281,472
5Jun 16, 2024 14:495,58144,786,85216,866,000992,0002,281,472
6Jun 16, 2024 14:495,58147,431,71415,875,0001,984,0002,281,472
7Jun 16, 2024 14:495,58248,272,56915,877,0001,984,0002,273,280
8Jun 16, 2024 14:495,58344,941,27214,888,0002,977,0002,273,280
9Jun 16, 2024 14:495,58442,899,49315,883,0001,985,0002,281,472
10Jun 16, 2024 14:495,85195,516,78718,723,54802,187,264
11Jun 16, 2024 14:495,87086,851,66318,783,05502,179,072
12Jun 16, 2024 14:495,88685,162,85618,836,23802,301,952