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 listDec 31, 2022 17:54Hal FHal FScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2022 17:545,52545,043,13716,640,0001,040,0002,383,872
2Dec 31, 2022 17:545,53244,150,54216,660,0001,041,0002,273,280
3Dec 31, 2022 17:545,57937,591,43015,869,0001,983,0002,289,664
4Dec 31, 2022 17:545,58145,697,63816,867,000992,0002,273,280
5Dec 31, 2022 17:545,58348,451,55417,864,00002,289,664
6Dec 31, 2022 17:545,58644,229,44216,882,000993,0002,269,184
7Dec 31, 2022 17:545,58651,696,62716,883,000993,0002,531,328
8Dec 31, 2022 17:545,58845,850,74817,881,00002,289,664
9Dec 31, 2022 17:545,71984,432,62518,302,30102,252,800
10Dec 31, 2022 17:545,73941,590,41816,325,0002,040,0002,269,184
11Dec 31, 2022 17:545,75157,160,17518,403,90602,297,856
12Dec 31, 2022 17:545,75190,505,91418,404,05102,293,760