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 13, 2024 19:26kytanskytansScore: 5,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 19:265,47440,283,85616,487,0001,030,0002,293,760
2Jul 13, 2024 19:265,47436,859,78516,488,0001,030,0002,277,376
3Jul 13, 2024 19:265,47645,161,90616,494,0001,030,0002,281,472
4Jul 13, 2024 19:265,47833,969,25716,500,0001,031,0002,293,760
5Jul 13, 2024 19:265,49641,134,04816,554,0001,034,0002,289,664
6Jul 13, 2024 19:265,51131,895,85617,636,00002,396,160
7Jul 13, 2024 19:265,51352,789,38616,604,0001,037,0002,293,760
8Jul 13, 2024 19:265,51443,142,56016,608,0001,038,0002,277,376
9Jul 13, 2024 19:265,58050,252,43417,856,00002,281,472
10Jul 13, 2024 19:265,68490,045,56218,188,61902,285,568
11Jul 13, 2024 19:265,72179,275,53418,306,07802,293,760
12Jul 13, 2024 19:265,73992,167,51618,365,34602,297,856