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 24, 2021 05:14Yuriy LyfenkoYuriy LyfenkoScore: 5,302Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:145,27246,374,86115,878,000992,0002,527,232
2May 24, 2021 05:145,27435,536,32714,893,0001,985,0002,265,088
3May 24, 2021 05:145,27647,888,56114,897,0001,986,0002,404,352
4May 24, 2021 05:145,27737,022,12915,893,000993,0002,265,088
5May 24, 2021 05:145,28344,674,09315,848,0001,056,0002,265,088
6May 24, 2021 05:145,30038,818,50514,965,0001,995,0002,400,256
7May 24, 2021 05:145,30242,678,80014,971,0001,996,0002,265,088
8May 24, 2021 05:145,31933,841,52015,019,0002,002,0002,400,256
9May 24, 2021 05:145,33242,528,06816,060,0001,003,0002,265,088
10May 24, 2021 05:145,52855,112,54617,689,39602,273,280
11May 24, 2021 05:145,54370,748,46117,738,82502,285,568
12May 24, 2021 05:145,57360,862,66517,834,50402,281,472