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 listApr 10, 2024 02:02Steve BronderSteve BronderScore: 5,722Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 02:025,68842,711,13116,179,0002,022,0002,367,488
2Apr 10, 2024 02:025,69343,423,35316,193,0002,024,0002,293,760
3Apr 10, 2024 02:025,70334,419,74717,236,0001,013,0002,293,760
4Apr 10, 2024 02:025,70937,955,13016,239,0002,029,0002,506,752
5Apr 10, 2024 02:025,71643,211,00816,259,0002,032,0002,293,760
6Apr 10, 2024 02:025,71946,117,44616,267,0002,033,0002,510,848
7Apr 10, 2024 02:025,72249,307,48317,293,0001,017,0002,293,760
8Apr 10, 2024 02:025,72436,379,12517,299,0001,017,0002,293,760
9Apr 10, 2024 02:025,74442,009,08716,340,0002,042,0002,351,104
10Apr 10, 2024 02:025,90492,369,99518,892,38802,277,376
11Apr 10, 2024 02:025,920105,144,54318,944,93402,281,472
12Apr 10, 2024 02:025,961102,257,12719,074,21402,289,664