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 18:19AndreyTSAndreyTSScore: 5,673Success
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 18:195,61648,239,15116,972,000998,0002,289,664
2Jun 9, 2024 18:195,63534,066,64716,028,0002,003,0002,289,664
3Jun 9, 2024 18:195,63845,425,15016,038,0002,004,0002,277,376
4Jun 9, 2024 18:195,64840,418,16016,066,0002,008,0002,289,664
5Jun 9, 2024 18:195,65141,810,77916,073,0002,009,0002,277,376
6Jun 9, 2024 18:195,67043,071,17416,128,0002,016,0002,273,280
7Jun 9, 2024 18:195,67339,430,00417,146,0001,008,0002,289,664
8Jun 9, 2024 18:195,68545,431,59017,183,0001,010,0002,289,664
9Jun 9, 2024 18:195,72441,195,86217,300,0001,017,0002,269,184
10Jun 9, 2024 18:195,90092,751,16318,880,16302,297,856
11Jun 9, 2024 18:195,93688,305,73718,995,87002,183,168
12Jun 9, 2024 18:195,98190,281,78119,139,64202,289,664