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 22, 2022 18:36Robert BurkeRobert BurkeScore: 5,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 18:365,29136,930,15515,936,000996,0002,281,472
2Jul 22, 2022 18:365,29540,909,79415,949,000996,0002,428,928
3Jul 22, 2022 18:365,31744,089,40015,014,0002,001,0002,281,472
4Jul 22, 2022 18:365,32039,529,12416,023,0001,001,0002,281,472
5Jul 22, 2022 18:365,32140,178,24416,025,0001,001,0002,523,136
6Jul 22, 2022 18:365,32639,921,97216,041,0001,002,0002,428,928
7Jul 22, 2022 18:365,34035,812,07015,077,0002,010,0002,281,472
8Jul 22, 2022 18:365,34433,445,67416,096,0001,006,0002,281,472
9Jul 22, 2022 18:365,34632,484,16316,101,0001,006,0002,281,472
10Jul 22, 2022 18:365,46265,467,15917,477,81202,174,976
11Jul 22, 2022 18:365,47276,216,50617,510,24102,187,264
12Jul 22, 2022 18:365,48983,298,26517,564,56002,187,264