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 8, 2023 12:42Hal FHal FScore: 4,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2023 12:424,65137,677,46113,890,000992,0002,277,376
2Jan 8, 2023 12:424,65538,733,34713,833,0001,064,0002,273,280
3Jan 8, 2023 12:424,66735,336,75813,939,000995,0002,277,376
4Jan 8, 2023 12:424,67041,555,13812,952,0001,992,0002,289,664
5Jan 8, 2023 12:424,67438,941,07712,962,0001,994,0002,289,664
6Jan 8, 2023 12:424,67640,716,33012,969,0001,995,0002,281,472
7Jan 8, 2023 12:424,67835,989,60012,974,0001,996,0002,289,664
8Jan 8, 2023 12:424,68730,536,88813,999,000999,0002,269,184
9Jan 8, 2023 12:424,68835,828,01213,000,0002,000,0002,523,136
10Jan 8, 2023 12:424,88481,367,06915,627,98302,297,856
11Jan 8, 2023 12:424,89882,446,34415,675,11702,297,856
12Jan 8, 2023 12:424,90085,400,01815,679,80602,301,952