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 29, 2021 14:59Yuriy LyfenkoYuriy LyfenkoScore: 5,034Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 14:595,00832,668,24814,023,0002,003,0002,265,088
2May 29, 2021 14:595,01450,392,15614,041,0002,005,0002,265,088
3May 29, 2021 14:595,02638,035,14714,074,0002,010,0002,387,968
4May 29, 2021 14:595,02843,765,47314,080,0002,011,0002,265,088
5May 29, 2021 14:595,03333,564,43615,098,0001,006,0002,265,088
6May 29, 2021 14:595,03348,649,01315,098,0001,006,0002,392,064
7May 29, 2021 14:595,03446,522,31215,102,0001,006,0002,392,064
8May 29, 2021 14:595,05344,101,23814,149,0002,021,0002,265,088
9May 29, 2021 14:595,05845,190,45515,175,0001,011,0002,506,752
10May 29, 2021 14:595,20877,335,96216,664,52002,285,568
11May 29, 2021 14:595,23689,244,83716,755,47602,277,376
12May 29, 2021 14:595,24384,601,84816,778,87602,277,376