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 17, 2024 05:10Yuriy LyfenkoYuriy LyfenkoScore: 4,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:104,45335,334,92512,213,0002,035,0002,527,232
2Aug 17, 2024 05:104,47035,127,11313,283,0001,021,0002,392,064
3Aug 17, 2024 05:104,47929,601,74213,311,0001,023,0002,396,160
4Aug 17, 2024 05:104,48033,004,38413,313,0001,024,0002,527,232
5Aug 17, 2024 05:104,48835,437,11414,362,00002,265,088
6Aug 17, 2024 05:104,49136,456,78614,370,00002,265,088
7Aug 17, 2024 05:104,49339,310,98612,324,0002,054,0002,392,064
8Aug 17, 2024 05:104,49737,736,35612,334,0002,055,0002,383,872
9Aug 17, 2024 05:104,50530,877,59113,386,0001,029,0002,396,160
10Aug 17, 2024 05:104,73992,518,60215,165,18802,269,184
11Aug 17, 2024 05:104,766116,878,02915,250,13602,273,280
12Aug 17, 2024 05:104,795102,723,45215,342,78702,269,184