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 6, 2021 00:50evgenikwtevgenikwtScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 00:505,26938,032,53415,869,000991,0002,265,088
2Jun 6, 2021 00:505,26935,230,82415,871,000991,0002,265,088
3Jun 6, 2021 00:505,26942,625,36414,879,0001,983,0002,265,088
4Jun 6, 2021 00:505,27342,322,22515,882,000992,0002,392,064
5Jun 6, 2021 00:505,27344,702,59615,883,000992,0002,383,872
6Jun 6, 2021 00:505,27442,063,37015,885,000992,0002,379,776
7Jun 6, 2021 00:505,27742,994,70414,900,0001,986,0002,387,968
8Jun 6, 2021 00:505,28133,904,04015,905,000994,0002,506,752
9Jun 6, 2021 00:505,28340,697,71915,910,000994,0002,396,160
10Jun 6, 2021 00:505,54752,139,83017,749,00702,277,376
11Jun 6, 2021 00:505,56265,275,82017,797,00202,281,472
12Jun 6, 2021 00:505,75376,381,11318,409,24602,289,664