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 listAug 22, 2022 16:37Eugene ZhydzetskiEugene ZhydzetskiScore: 5,903Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 16:375,89748,557,71216,884,0001,986,0002,330,624
2Aug 22, 2022 16:375,89846,089,17717,880,000993,0002,334,720
3Aug 22, 2022 16:375,89849,287,05817,881,000993,0002,326,528
4Aug 22, 2022 16:375,90052,092,78717,886,000993,0002,285,568
5Aug 22, 2022 16:375,90034,859,87917,887,000993,0002,330,624
6Aug 22, 2022 16:375,90045,236,92917,887,000993,0002,531,328
7Aug 22, 2022 16:375,90347,098,91618,889,00002,535,424
8Aug 22, 2022 16:375,92245,240,43116,956,0001,994,0002,330,624
9Aug 22, 2022 16:375,93251,437,81615,985,0002,997,0002,326,528
10Aug 22, 2022 16:376,01588,625,74619,249,14602,236,416
11Aug 22, 2022 16:376,12083,905,73319,585,05102,248,704
12Aug 22, 2022 16:376,15287,160,13419,685,03302,244,608