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 20, 2024 12:41Matt StuchlikMatt StuchlikScore: 4,721Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 12:414,66632,963,06412,941,0001,991,0002,277,376
2Jul 20, 2024 12:414,68535,109,36712,994,0001,999,0002,273,280
3Jul 20, 2024 12:414,68837,225,86813,001,0002,000,0002,289,664
4Jul 20, 2024 12:414,70232,549,07713,041,0002,006,0002,277,376
5Jul 20, 2024 12:414,70531,577,48913,049,0002,007,0002,289,664
6Jul 20, 2024 12:414,70536,688,71413,050,0002,007,0002,265,088
7Jul 20, 2024 12:414,72140,518,75014,099,0001,007,0002,523,136
8Jul 20, 2024 12:414,72132,180,34913,093,0002,014,0002,269,184
9Jul 20, 2024 12:414,72239,212,99913,097,0002,014,0002,269,184
10Jul 20, 2024 12:414,93491,563,49715,787,79402,293,760
11Jul 20, 2024 12:415,01986,198,29616,061,01502,285,568
12Jul 20, 2024 12:415,02093,505,38316,064,37802,285,568