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 26, 2024 20:14vientvientScore: 7,821Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:137,66194,111,03524,514,86202,191,360
2Jul 26, 2024 20:137,73191,628,43124,737,60302,187,264
3Jul 26, 2024 20:137,79887,901,20624,953,10902,179,072
4Jul 26, 2024 20:137,80385,243,18624,968,14102,174,976
5Jul 26, 2024 20:137,81188,299,32924,995,32702,187,264
6Jul 26, 2024 20:137,81990,757,37225,020,61702,191,360
7Jul 26, 2024 20:137,81978,991,33525,022,11702,256,896
8Jul 26, 2024 20:137,821102,105,75525,028,78402,322,432
9Jul 26, 2024 20:147,82784,385,30525,045,54402,179,072
10Jul 26, 2024 20:147,82998,825,05625,053,43602,174,976
11Jul 26, 2024 20:137,870102,125,02825,184,85302,179,072
12Jul 26, 2024 20:137,88089,727,03925,216,65302,183,168
13Jul 26, 2024 20:137,88996,277,32725,246,27902,187,264
14Jul 26, 2024 20:147,895100,255,91825,265,19802,183,168
15Jul 26, 2024 20:137,94697,135,04825,428,11202,252,800