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 20, 2024 05:29AnSaAnSaScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 05:295,54235,207,28817,733,00002,400,256
2Jan 20, 2024 05:295,57948,360,50314,877,0002,975,0002,281,472
3Jan 20, 2024 05:295,58247,706,20816,870,000992,0002,281,472
4Jan 20, 2024 05:295,58243,856,78216,870,000992,0002,281,472
5Jan 20, 2024 05:295,58543,474,62615,886,0001,985,0002,281,472
6Jan 20, 2024 05:295,58644,398,72915,890,0001,986,0002,392,064
7Jan 20, 2024 05:295,58944,160,91216,891,000993,0002,281,472
8Jan 20, 2024 05:295,59644,291,93715,917,0001,989,0002,281,472
9Jan 20, 2024 05:295,60744,591,98215,949,0001,993,0002,281,472
10Jan 20, 2024 05:295,70680,296,72718,259,82702,285,568
11Jan 20, 2024 05:295,76998,129,31518,460,01002,289,664
12Jan 20, 2024 05:295,81656,107,24218,610,06202,285,568