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 listAug 10, 2023 07:37parsersmailparsersmailScore: 5,957Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 07:375,89943,673,06516,891,0001,987,0002,334,720
2Aug 10, 2023 07:375,90645,867,74018,898,00002,334,720
3Aug 10, 2023 07:375,92342,949,97416,958,0001,995,0002,428,928
4Aug 10, 2023 07:375,92847,220,52617,970,000998,0002,334,720
5Aug 10, 2023 07:375,92948,837,92617,975,000998,0002,334,720
6Aug 10, 2023 07:375,93546,265,84716,992,0001,999,0002,334,720
7Aug 10, 2023 07:375,95743,630,38917,057,0002,006,0002,293,760
8Aug 10, 2023 07:375,95838,555,49718,062,0001,003,0002,301,952
9Aug 10, 2023 07:375,96380,494,11719,080,07702,269,184
10Aug 10, 2023 07:375,97647,306,94117,111,0002,013,0002,334,720
11Aug 10, 2023 07:376,07566,779,39519,440,44602,260,992
12Aug 10, 2023 07:376,15996,217,58719,707,97302,256,896