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 17, 2021 23:16Yuriy LyfenkoYuriy LyfenkoScore: 5,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:165,236986,150,32015,770,000985,0002,265,088
2May 17, 2021 23:165,2382,217,120,33415,713,0001,047,0002,260,992
3May 17, 2021 23:165,2432,091,782,10914,805,0001,974,0002,260,992
4May 17, 2021 23:165,2481,322,544,25115,807,000987,0002,519,040
5May 17, 2021 23:165,257955,168,29215,833,000989,0002,519,040
6May 17, 2021 23:165,2622,428,067,31013,866,0002,971,0002,519,040
7May 17, 2021 23:165,2822,825,179,52214,913,0001,988,0002,519,040
8May 17, 2021 23:165,2882,296,064,99015,927,000995,0002,527,232
9May 17, 2021 23:165,3001,910,001,84214,964,0001,995,0002,260,992
10May 17, 2021 23:165,4523,092,236,66917,446,17602,281,472
11May 17, 2021 23:165,4611,290,523,06617,474,89002,277,376
12May 17, 2021 23:165,4752,559,913,61717,519,03302,281,472