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 22, 2024 18:11Matt StuchlikMatt StuchlikScore: 4,699Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 18:114,65541,693,47113,903,000993,0002,289,664
2Jul 22, 2024 18:114,67729,004,04012,971,0001,995,0002,289,664
3Jul 22, 2024 18:114,68132,337,82512,982,0001,997,0002,273,280
4Jul 22, 2024 18:114,68741,014,64112,998,0001,999,0002,519,040
5Jul 22, 2024 18:114,68837,633,64013,003,0002,000,0002,289,664
6Jul 22, 2024 18:114,69134,308,04613,011,0002,001,0002,277,376
7Jul 22, 2024 18:114,69932,550,76513,032,0002,004,0002,289,664
8Jul 22, 2024 18:114,70441,076,02114,050,0001,003,0002,289,664
9Jul 22, 2024 18:114,78442,070,66813,269,0002,041,0002,277,376
10Jul 22, 2024 18:114,94490,599,15415,821,28102,293,760
11Jul 22, 2024 18:114,95982,407,97215,867,49202,301,952
12Jul 22, 2024 18:114,97891,215,48115,929,98002,297,856