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 23, 2024 18:47AnSaAnSaScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 18:475,21841,133,31215,653,0001,043,0002,383,872
2Jan 23, 2024 18:475,21943,954,02915,659,0001,043,0002,281,472
3Jan 23, 2024 18:475,26734,520,41615,863,000991,0002,281,472
4Jan 23, 2024 18:475,27036,600,71115,873,000992,0002,281,472
5Jan 23, 2024 18:475,27140,694,48814,883,0001,984,0002,281,472
6Jan 23, 2024 18:475,27242,861,05615,877,000992,0002,396,160
7Jan 23, 2024 18:475,27346,673,45315,881,000992,0002,387,968
8Jan 23, 2024 18:475,27648,094,28415,891,000993,0002,396,160
9Jan 23, 2024 18:475,28738,401,86214,927,0001,990,0002,473,984
10Jan 23, 2024 18:475,45187,636,66017,444,61402,285,568
11Jan 23, 2024 18:475,45490,350,06317,452,13202,281,472
12Jan 23, 2024 18:475,47982,162,75017,531,78202,285,568