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 listJun 2, 2021 18:58Yuriy LyfenkoYuriy LyfenkoScore: 5,037Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 18:585,0001,036,083,58514,001,0002,000,0002,273,280
2Jun 2, 2021 18:585,0061,039,711,69915,018,0001,001,0002,281,472
3Jun 2, 2021 18:585,0131,035,706,94215,041,0001,002,0002,281,472
4Jun 2, 2021 18:585,0261,040,683,97615,078,0001,005,0002,281,472
5Jun 2, 2021 18:585,0271,038,726,99515,080,0001,005,0002,281,472
6Jun 2, 2021 18:585,0341,045,301,98815,103,0001,006,0002,273,280
7Jun 2, 2021 18:585,0371,038,429,81914,103,0002,014,0002,273,280
8Jun 2, 2021 18:585,0391,041,207,19015,119,0001,007,0002,281,472
9Jun 2, 2021 18:585,0681,038,217,84815,205,0001,013,0002,273,280
10Jun 2, 2021 18:585,1701,081,732,64516,543,90302,289,664
11Jun 2, 2021 18:585,1791,084,074,32316,572,71902,256,896
12Jun 2, 2021 18:585,2031,080,906,70416,649,90502,285,568