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 9, 2024 20:53джулисджулисScore: 5,702Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:535,66841,381,53316,123,0002,015,0002,293,760
2Jun 9, 2024 20:535,67439,227,43917,150,0001,008,0002,293,760
3Jun 9, 2024 20:535,67638,651,42716,146,0002,018,0002,293,760
4Jun 9, 2024 20:535,67940,883,91316,153,0002,019,0002,465,792
5Jun 9, 2024 20:535,69041,229,24917,197,0001,011,0002,293,760
6Jun 9, 2024 20:535,69644,688,31417,214,0001,012,0002,363,392
7Jun 9, 2024 20:535,70246,384,61916,219,0002,027,0002,375,680
8Jun 9, 2024 20:535,73745,464,74917,338,0001,019,0002,293,760
9Jun 9, 2024 20:535,75047,661,77917,377,0001,022,0002,469,888
10Jun 9, 2024 20:535,90867,820,78118,906,12202,240,512
11Jun 9, 2024 20:535,94478,379,27919,020,45202,252,800
12Jun 9, 2024 20:535,94867,250,51719,034,18002,256,896