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 listDec 24, 2024 00:33ii14ii14Score: 4,752Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 24, 2024 00:334,74437,381,79513,157,0002,024,0002,392,064
2Dec 24, 2024 00:334,74432,238,37413,158,0002,024,0002,265,088
3Dec 24, 2024 00:334,74638,821,35912,151,0003,037,0002,392,064
4Dec 24, 2024 00:334,74733,767,74414,177,0001,012,0002,269,184
5Dec 24, 2024 00:334,75229,581,38712,166,0003,041,0002,519,040
6Dec 24, 2024 00:334,75335,823,87413,182,0002,028,0002,269,184
7Dec 24, 2024 00:334,75935,956,42414,214,0001,015,0002,396,160
8Dec 24, 2024 00:334,76242,520,76612,190,0003,047,0002,400,256
9Dec 24, 2024 00:334,77332,861,40814,255,0001,018,0002,400,256