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 25, 2024 15:56Yuriy LyfenkoYuriy LyfenkoScore: 4,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:564,655538,613,86512,909,0001,986,0002,523,136
2Jul 25, 2024 15:564,671538,138,11913,951,000996,0002,260,992
3Jul 25, 2024 15:564,673545,518,23612,960,0001,993,0002,523,136
4Jul 25, 2024 15:564,674543,659,22313,960,000997,0002,375,680
5Jul 25, 2024 15:564,676544,469,24613,966,000997,0002,523,136
6Jul 25, 2024 15:564,677542,938,99312,970,0001,995,0002,523,136
7Jul 25, 2024 15:564,677549,604,54112,972,0001,995,0002,260,992
8Jul 25, 2024 15:564,677539,892,86112,972,0001,995,0002,527,232
9Jul 25, 2024 15:564,687541,161,11313,998,000999,0002,265,088
10Jul 25, 2024 15:564,861564,413,12415,554,12902,273,280
11Jul 25, 2024 15:564,883605,603,29915,625,70602,285,568
12Jul 25, 2024 15:564,890583,174,73315,649,23402,285,568