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 listJan 13, 2024 08:19matsuoka-601matsuoka-601Score: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:195,53844,121,90716,678,0001,042,0002,265,088
2Jan 13, 2024 08:195,56344,306,30015,824,0001,978,0002,523,136
3Jan 13, 2024 08:195,57644,047,92216,853,000991,0002,289,664
4Jan 13, 2024 08:195,58043,604,66916,865,000992,0002,289,664
5Jan 13, 2024 08:195,58344,444,85215,881,0001,985,0002,289,664
6Jan 13, 2024 08:195,58436,834,36616,876,000992,0002,289,664
7Jan 13, 2024 08:195,58446,972,07915,884,0001,985,0002,289,664
8Jan 13, 2024 08:195,58744,646,92016,886,000993,0002,289,664
9Jan 13, 2024 08:195,58944,945,94115,899,0001,987,0002,269,184
10Jan 13, 2024 08:195,65679,331,19818,099,76402,179,072
11Jan 13, 2024 08:195,65787,625,37818,101,46502,297,856
12Jan 13, 2024 08:195,67478,267,93018,157,70002,297,856