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 listApr 22, 2024 04:29Yuriy LyfenkoYuriy LyfenkoScore: 7,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 04:295,85397,667,77318,728,10802,293,760
2Apr 22, 2024 04:295,92785,760,43518,966,85802,293,760
3Apr 22, 2024 04:296,89345,906,46521,056,0001,002,0002,486,272
4Apr 22, 2024 04:296,89447,589,32819,052,0003,008,0002,453,504
5Apr 22, 2024 04:297,09648,448,30920,644,0002,064,0002,297,856
6Apr 22, 2024 04:297,10353,105,53920,665,0002,066,0002,473,984
7Apr 22, 2024 04:297,14355,270,57619,875,0002,981,0002,539,520
8Apr 22, 2024 04:297,14550,763,32320,875,0001,988,0002,478,080
9Apr 22, 2024 04:297,17956,150,39619,976,0002,996,0002,560,000
10Apr 22, 2024 04:297,21250,364,98120,069,0003,010,0002,314,240
11Apr 22, 2024 04:297,22651,971,95820,108,0003,016,0002,478,080
12Apr 22, 2024 04:2912,995100,040,27841,582,91602,285,568