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 listSep 5, 2021 06:01Ilya AniskovetsIlya AniskovetsScore: 5,770Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 06:015,70439,737,34916,224,0002,028,0002,273,280
2Sep 5, 2021 06:015,71239,239,87716,248,0002,031,0002,289,664
3Sep 5, 2021 06:015,73338,696,61016,308,0002,038,0002,289,664
4Sep 5, 2021 06:015,75649,736,75317,395,0001,023,0002,273,280
5Sep 5, 2021 06:015,76446,097,84317,422,0001,024,0002,289,664
6Sep 5, 2021 06:015,76640,267,91017,426,0001,025,0002,289,664
7Sep 5, 2021 06:015,77041,124,09417,439,0001,025,0002,289,664
8Sep 5, 2021 06:015,77040,372,97617,440,0001,025,0002,289,664
9Sep 5, 2021 06:015,77340,620,91416,423,0002,052,0002,269,184
10Sep 5, 2021 06:015,93391,648,13718,986,04502,293,760
11Sep 5, 2021 06:015,94284,903,42919,014,76302,297,856
12Sep 5, 2021 06:015,95482,347,42919,054,32302,301,952