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 13, 2024 19:31kytanskytansScore: 5,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 19:315,58144,485,15515,876,0001,984,0002,293,760
2Jul 13, 2024 19:315,58646,780,98015,888,0001,986,0002,293,760
3Jul 13, 2024 19:315,60739,334,74916,947,000996,0002,269,184
4Jul 13, 2024 19:315,60941,763,56415,954,0001,994,0002,289,664
5Jul 13, 2024 19:315,61941,074,21515,984,0001,998,0002,281,472
6Jul 13, 2024 19:315,64941,550,98716,068,0002,008,0002,273,280
7Jul 13, 2024 19:315,65535,299,23016,087,0002,010,0002,293,760
8Jul 13, 2024 19:315,67146,290,88716,130,0002,016,0002,293,760
9Jul 13, 2024 19:315,68946,686,35317,193,0001,011,0002,293,760
10Jul 13, 2024 19:315,852106,640,55418,727,86102,293,760
11Jul 13, 2024 19:315,87989,651,20818,812,67802,293,760
12Jul 13, 2024 19:315,92283,096,18018,951,60702,293,760