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 8, 2023 13:21Andrew MoonAndrew MoonScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 13:215,30038,438,95316,960,00002,375,680
2Jul 8, 2023 13:215,31341,625,75115,001,0002,000,0002,265,088
3Jul 8, 2023 13:215,31335,336,50516,002,0001,000,0002,527,232
4Jul 8, 2023 13:215,31843,061,31515,017,0002,002,0002,265,088
5Jul 8, 2023 13:215,33047,663,85315,050,0002,006,0002,387,968
6Jul 8, 2023 13:215,33242,129,37615,054,0002,007,0002,510,848
7Jul 8, 2023 13:215,33847,791,63116,078,0001,004,0002,260,992
8Jul 8, 2023 13:215,34842,945,31016,106,0001,006,0002,383,872
9Jul 8, 2023 13:215,34851,134,86815,099,0002,013,0002,265,088
10Jul 8, 2023 13:215,53377,256,88817,706,58802,285,568
11Jul 8, 2023 13:215,54374,665,92017,737,76502,281,472
12Jul 8, 2023 13:215,56789,617,43017,813,37302,285,568