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 16, 2023 18:56Ulyanov AlekseyUlyanov AlekseyScore: 5,889Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 18:565,82047,255,85217,590,0001,034,0002,289,664
2Jun 16, 2023 18:565,82545,714,01817,605,0001,035,0002,289,664
3Jun 16, 2023 18:565,82635,830,94017,608,0001,035,0002,269,184
4Jun 16, 2023 18:565,83546,224,84017,636,0001,037,0002,281,472
5Jun 16, 2023 18:565,85147,555,20817,684,0001,040,0002,519,040
6Jun 16, 2023 18:565,85646,795,64417,698,0001,041,0002,392,064
7Jun 16, 2023 18:565,88947,860,95416,863,0001,983,0002,289,664
8Jun 16, 2023 18:565,89546,303,37116,878,0001,985,0002,289,664
9Jun 16, 2023 18:565,89851,427,56216,886,0001,986,0002,531,328
10Jun 16, 2023 18:566,02491,423,32219,277,78602,301,952
11Jun 16, 2023 18:566,05994,384,76019,389,38402,293,760
12Jun 16, 2023 18:566,06366,678,79819,401,47302,293,760