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 17, 2023 22:40Ulyanov AlekseyUlyanov AlekseyScore: 5,936Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:405,89544,706,20817,871,000992,0002,269,184
2Jun 17, 2023 22:405,89853,572,64215,893,0002,980,0002,273,280
3Jun 17, 2023 22:405,90244,443,59616,899,0001,988,0002,277,376
4Jun 17, 2023 22:405,90343,687,61516,903,0001,988,0002,277,376
5Jun 17, 2023 22:405,91043,718,21016,922,0001,990,0002,273,280
6Jun 17, 2023 22:405,91349,681,49015,934,0002,987,0002,277,376
7Jun 17, 2023 22:405,93639,424,37417,997,000999,0002,277,376
8Jun 17, 2023 22:405,94236,176,47317,014,0002,001,0002,277,376
9Jun 17, 2023 22:405,94542,006,70317,021,0002,002,0002,273,280
10Jun 17, 2023 22:406,119101,606,78319,579,42202,174,976
11Jun 17, 2023 22:406,14080,439,00619,647,17302,297,856
12Jun 17, 2023 22:406,17479,441,84619,755,23402,285,568