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 11, 2021 21:19Mikhail DektyarevMikhail DektyarevScore: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 21:195,45739,129,86816,436,0001,027,0002,519,040
2May 11, 2021 21:195,46942,396,11114,413,0003,088,0002,519,040
3May 11, 2021 21:195,47938,074,68717,534,00002,383,872
4May 11, 2021 21:195,48333,769,19316,515,0001,032,0002,383,872
5May 11, 2021 21:195,48537,025,27917,552,00002,519,040
6May 11, 2021 21:195,48639,057,31316,522,0001,032,0002,392,064
7May 11, 2021 21:195,48638,833,87117,555,00002,379,776
8May 11, 2021 21:195,48742,932,00917,557,00002,260,992
9May 11, 2021 21:195,48739,389,05217,558,00002,260,992
10May 11, 2021 21:195,48944,865,82917,565,00002,519,040
11May 11, 2021 21:195,48939,262,23515,499,0002,066,0002,392,064
12May 11, 2021 21:195,48940,460,25815,498,0002,066,0002,383,872
13May 11, 2021 21:195,49047,490,30817,568,00002,383,872
14May 11, 2021 21:195,49133,157,39917,571,00002,519,040
15May 11, 2021 21:195,49239,404,28116,540,0001,033,0002,392,064
16May 11, 2021 21:195,49642,298,53517,586,00002,519,040
17May 11, 2021 21:195,49636,941,85516,552,0001,034,0002,519,040
18May 11, 2021 21:195,49735,963,90717,589,00002,392,064
19May 11, 2021 21:195,49842,844,03817,592,00002,519,040
20May 11, 2021 21:195,49937,117,35016,563,0001,035,0002,506,752
21May 11, 2021 21:195,50140,047,80117,602,00002,396,160
22May 11, 2021 21:195,50339,895,05116,574,0001,035,0002,265,088
23May 11, 2021 21:195,50345,823,63916,575,0001,035,0002,392,064
24May 11, 2021 21:195,50438,301,04417,614,00002,392,064
25May 11, 2021 21:195,51037,217,63117,633,00002,519,040
26May 11, 2021 21:195,51847,974,96216,619,0001,038,0002,519,040
27May 11, 2021 21:195,51945,663,14215,584,0002,077,0002,387,968
28May 11, 2021 21:195,75188,421,69518,404,70702,285,568
29May 11, 2021 21:195,75772,844,03918,421,10002,281,472
30May 11, 2021 21:195,78984,666,10718,523,59702,277,376
31May 11, 2021 21:195,79068,229,00518,527,50602,285,568
32May 11, 2021 21:195,80182,110,26618,564,23502,289,664
33May 11, 2021 21:195,80780,249,84118,580,88602,273,280
34May 11, 2021 21:195,81079,286,55718,590,88702,273,280
35May 11, 2021 21:195,83098,156,86818,655,98402,269,184
36May 11, 2021 21:195,85481,671,87718,732,92002,285,568