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 27, 2021 18:30Yuriy LyfenkoYuriy LyfenkoScore: 5,089Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:305,05439,924,22215,162,0001,010,0002,383,872
2May 27, 2021 18:305,05733,434,39815,170,0001,011,0002,265,088
3May 27, 2021 18:305,05940,169,20815,177,0001,011,0002,265,088
4May 27, 2021 18:305,06241,622,56515,185,0001,012,0002,392,064
5May 27, 2021 18:305,07138,026,84214,199,0002,028,0002,523,136
6May 27, 2021 18:305,07233,389,61414,201,0002,028,0002,387,968
7May 27, 2021 18:305,08932,379,33314,251,0002,035,0002,269,184
8May 27, 2021 18:305,09633,036,40515,287,0001,019,0002,379,776
9May 27, 2021 18:305,09738,866,55014,272,0002,038,0002,400,256
10May 27, 2021 18:305,26640,222,69016,850,32802,273,280
11May 27, 2021 18:305,29577,731,99016,945,58402,273,280
12May 27, 2021 18:305,34171,517,30317,091,74202,277,376