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 3, 2023 20:55Hal FHal FScore: 4,687Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:554,65242,435,81012,902,0001,984,0002,273,280
2Jan 3, 2023 20:554,65431,950,47812,907,0001,985,0002,281,472
3Jan 3, 2023 20:554,66533,691,87412,938,0001,990,0002,269,184
4Jan 3, 2023 20:554,66733,304,62212,943,0001,991,0002,289,664
5Jan 3, 2023 20:554,66935,690,74112,949,0001,992,0002,289,664
6Jan 3, 2023 20:554,67536,218,86812,965,0001,994,0002,531,328
7Jan 3, 2023 20:554,68744,162,17112,999,0001,999,0002,375,680
8Jan 3, 2023 20:554,69135,344,87013,009,0002,001,0002,273,280
9Jan 3, 2023 20:554,69636,776,22514,025,0001,001,0002,289,664
10Jan 3, 2023 20:554,892103,102,93115,654,95302,256,896
11Jan 3, 2023 20:554,89868,697,76915,672,16202,252,800
12Jan 3, 2023 20:554,90776,652,90915,701,98702,289,664