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 listJan 14, 2024 05:52CalCalScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 14, 2024 05:525,49142,036,46116,537,0001,033,0002,281,472
2Jan 14, 2024 05:525,49739,259,27417,590,00002,281,472
3Jan 14, 2024 05:525,50344,717,00917,609,00002,392,064
4Jan 14, 2024 05:525,51634,907,40416,612,0001,038,0002,416,640
5Jan 14, 2024 05:525,51736,420,64816,617,0001,038,0002,281,472
6Jan 14, 2024 05:525,52536,764,88517,680,00002,400,256
7Jan 14, 2024 05:525,58447,929,74215,884,0001,985,0002,281,472
8Jan 14, 2024 05:525,58550,447,93015,887,0001,985,0002,408,448
9Jan 14, 2024 05:525,58637,003,08016,881,000993,0002,400,256
10Jan 14, 2024 05:525,67381,065,14118,152,15002,297,856
11Jan 14, 2024 05:525,68192,010,62118,179,82102,289,664
12Jan 14, 2024 05:525,69684,819,17518,225,60802,297,856