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 30, 2022 20:17Hal FHal FScore: 5,608Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 20:175,58133,638,91716,866,000992,0002,273,280
2Dec 30, 2022 20:175,58542,398,02814,893,0002,978,0002,277,376
3Dec 30, 2022 20:175,59340,296,53616,845,0001,052,0002,383,872
4Dec 30, 2022 20:175,59644,602,55314,924,0002,984,0002,277,376
5Dec 30, 2022 20:175,60444,346,22815,941,0001,992,0002,273,280
6Dec 30, 2022 20:175,60640,876,67515,947,0001,993,0002,531,328
7Dec 30, 2022 20:175,60845,995,63015,952,0001,994,0002,277,376
8Dec 30, 2022 20:175,60848,757,25815,952,0001,994,0002,269,184
9Dec 30, 2022 20:175,64143,676,23915,043,0003,008,0002,277,376
10Dec 30, 2022 20:175,84290,453,54418,695,79702,301,952
11Dec 30, 2022 20:175,84863,705,50018,712,31602,289,664
12Dec 30, 2022 20:175,89567,445,84718,863,94202,297,856