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 19:48Yuriy LyfenkoYuriy LyfenkoScore: 5,102Success
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 19:485,049538,482,11814,138,0002,019,0002,281,472
2Jun 2, 2021 19:485,059537,307,77414,166,0002,023,0002,408,448
3Jun 2, 2021 19:485,060540,223,82214,169,0002,024,0002,408,448
4Jun 2, 2021 19:485,064539,902,73615,194,0001,012,0002,273,280
5Jun 2, 2021 19:485,084538,804,55116,268,00002,273,280
6Jun 2, 2021 19:485,084548,086,18916,270,00002,273,280
7Jun 2, 2021 19:485,102539,592,70116,327,00002,273,280
8Jun 2, 2021 19:485,123540,047,64315,370,0001,024,0002,273,280
9Jun 2, 2021 19:485,131542,706,73416,419,00002,273,280
10Jun 2, 2021 19:485,184588,192,86016,588,58402,252,800
11Jun 2, 2021 19:485,211576,002,96816,673,82802,256,896
12Jun 2, 2021 19:485,236578,105,04616,755,34302,256,896