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 listMay 21, 2021 16:57Dmitry DolgopolovDmitry DolgopolovScore: 5,334Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 16:575,27444,680,71714,893,0001,985,0002,375,680
2May 21, 2021 16:575,29447,235,19414,949,0001,993,0002,265,088
3May 21, 2021 16:575,29846,343,74814,958,0001,994,0002,392,064
4May 21, 2021 16:575,29832,742,88114,960,0001,994,0002,265,088
5May 21, 2021 16:575,30342,084,79915,973,000998,0002,387,968
6May 21, 2021 16:575,31944,023,26615,019,0002,002,0002,265,088
7May 21, 2021 16:575,32846,832,55016,046,0001,002,0002,387,968
8May 21, 2021 16:575,33443,869,35715,060,0002,008,0002,383,872
9May 21, 2021 16:575,33836,422,38816,077,0001,004,0002,387,968
10May 21, 2021 16:575,49888,425,01917,595,16402,273,280
11May 21, 2021 16:575,50978,943,03717,630,19602,277,376
12May 21, 2021 16:575,51084,131,62617,632,20002,289,664
13May 21, 2021 16:575,54684,555,14417,747,68402,277,376
14May 21, 2021 16:575,54677,439,19517,748,44002,289,664
15May 21, 2021 16:575,56395,481,96917,800,63702,281,472