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 31, 2024 07:55BenBenScore: 4,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 07:554,59536,362,13713,653,0001,050,0002,265,088
2Jul 31, 2024 07:554,59530,887,75213,654,0001,050,0002,396,160
3Jul 31, 2024 07:554,60331,677,81713,678,0001,052,0002,265,088
4Jul 31, 2024 07:554,63740,680,87512,860,0001,978,0002,392,064
5Jul 31, 2024 07:554,64431,981,53314,860,00002,392,064
6Jul 31, 2024 07:554,64733,792,21212,888,0001,982,0002,387,968
7Jul 31, 2024 07:554,64741,612,30614,870,00002,392,064
8Jul 31, 2024 07:554,64732,187,85913,880,000991,0002,510,848
9Jul 31, 2024 07:554,65131,534,74413,890,000992,0002,387,968
10Jul 31, 2024 07:554,90082,322,53115,681,15202,293,760
11Jul 31, 2024 07:554,90358,171,65215,690,41602,277,376
12Jul 31, 2024 07:554,91264,243,39415,719,25102,285,568