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 listJun 30, 2024 10:32AnSaAnSaScore: 5,062Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:324,98936,943,26613,970,0001,995,0002,269,184
2Jun 30, 2024 10:325,01541,257,25515,046,0001,003,0002,273,280
3Jun 30, 2024 10:325,03437,990,90015,102,0001,006,0002,523,136
4Jun 30, 2024 10:325,04336,713,39315,129,0001,008,0002,273,280
5Jun 30, 2024 10:325,04538,947,07715,136,0001,009,0002,273,280
6Jun 30, 2024 10:325,05933,645,98815,179,0001,011,0002,519,040
7Jun 30, 2024 10:325,06232,714,02914,174,0002,024,0002,375,680
8Jun 30, 2024 10:325,06342,074,06914,178,0002,025,0002,289,664
9Jun 30, 2024 10:325,06439,022,00314,180,0002,025,0002,289,664
10Jun 30, 2024 10:325,22599,270,24016,720,32202,301,952
11Jun 30, 2024 10:325,22981,296,96116,731,89802,289,664
12Jun 30, 2024 10:325,31684,245,90917,012,04002,289,664