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,276Success
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,25242,975,94616,805,00002,392,064
2Jan 24, 2024 07:565,27041,315,50014,881,0001,984,0002,281,472
3Jan 24, 2024 07:565,27130,379,55815,875,000992,0002,387,968
4Jan 24, 2024 07:565,27444,046,76515,885,000992,0002,392,064
5Jan 24, 2024 07:565,27639,993,29315,889,000993,0002,281,472
6Jan 24, 2024 07:565,27649,097,81815,890,000993,0002,396,160
7Jan 24, 2024 07:565,27642,856,06914,897,0001,986,0002,396,160
8Jan 24, 2024 07:565,28334,101,53815,912,000994,0002,387,968
9Jan 24, 2024 07:565,29633,829,45014,954,0001,993,0002,281,472
10Jan 24, 2024 07:565,48681,551,38517,556,47402,285,568
11Jan 24, 2024 07:565,49786,441,66017,589,09402,285,568
12Jan 24, 2024 07:565,52184,628,28217,666,39902,281,472