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 24, 2024 07:56AnSaAnSaScore: 5,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 07:565,41437,508,45116,306,0001,019,0002,281,472
2Jan 24, 2024 07:565,42038,635,08516,324,0001,020,0002,281,472
3Jan 24, 2024 07:565,42237,350,15016,331,0001,020,0002,281,472
4Jan 24, 2024 07:565,43533,402,57117,393,00002,281,472
5Jan 24, 2024 07:565,43644,227,85616,371,0001,023,0002,396,160
6Jan 24, 2024 07:565,43636,459,08316,372,0001,023,0002,281,472
7Jan 24, 2024 07:565,44340,253,76517,417,00002,396,160
8Jan 24, 2024 07:565,47047,945,69017,503,00002,281,472
9Jan 24, 2024 07:565,47640,479,47516,494,0001,030,0002,281,472
10Jan 24, 2024 07:565,60776,849,82417,942,50702,289,664
11Jan 24, 2024 07:565,63493,938,75318,027,69502,293,760
12Jan 24, 2024 07:565,63593,550,37218,030,71102,252,800