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 10:14Andrew MoonAndrew MoonScore: 5,497Success
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 10:145,46438,815,17316,457,0001,028,0002,273,280
2Jul 8, 2023 10:145,47238,889,46416,481,0001,030,0002,289,664
3Jul 8, 2023 10:145,47543,127,54816,491,0001,030,0002,277,376
4Jul 8, 2023 10:145,48539,887,51816,521,0001,032,0002,289,664
5Jul 8, 2023 10:145,48845,543,48616,530,0001,033,0002,277,376
6Jul 8, 2023 10:145,49343,988,08716,543,0001,033,0002,289,664
7Jul 8, 2023 10:145,49744,526,16216,555,0001,034,0002,289,664
8Jul 8, 2023 10:145,50148,880,00717,604,00002,289,664
9Jul 8, 2023 10:145,50350,116,16616,573,0001,035,0002,392,064
10Jul 8, 2023 10:145,65489,250,53018,093,11402,306,048
11Jul 8, 2023 10:145,70198,129,08618,244,49902,252,800
12Jul 8, 2023 10:145,70282,770,33618,247,58902,174,976