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 23, 2021 21:34Vladimir KuryakovVladimir KuryakovScore: 5,722Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 21:345,69583,139,70818,225,48902,277,376
2May 23, 2021 21:345,70735,191,13918,261,00002,519,040
3May 23, 2021 21:345,70941,001,67317,255,0001,015,0002,387,968
4May 23, 2021 21:345,71640,344,42217,274,0001,016,0002,519,040
5May 23, 2021 21:345,71736,267,12117,278,0001,016,0002,506,752
6May 23, 2021 21:345,71842,704,14917,282,0001,016,0002,383,872
7May 23, 2021 21:345,72248,351,44715,258,0003,051,0002,519,040
8May 23, 2021 21:345,75531,111,24917,392,0001,023,0002,265,088
9May 23, 2021 21:345,75641,702,98417,397,0001,023,0002,519,040
10May 23, 2021 21:345,76043,201,99318,433,00002,392,064
11May 23, 2021 21:345,77288,323,60818,471,72002,277,376
12May 23, 2021 21:345,82790,407,66818,646,32002,285,568