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:42Yuriy LyfenkoYuriy LyfenkoScore: 4,658Success
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:424,630539,493,26512,840,0001,975,0002,527,232
2Aug 17, 2024 05:424,638540,623,55513,853,000989,0002,523,136
3Aug 17, 2024 05:424,643539,323,98712,876,0001,980,0002,514,944
4Aug 17, 2024 05:424,646542,336,30712,885,0001,982,0002,514,944
5Aug 17, 2024 05:424,648539,446,51112,892,0001,983,0002,514,944
6Aug 17, 2024 05:424,653544,159,89813,898,000992,0002,514,944
7Aug 17, 2024 05:424,658537,422,53311,925,0002,981,0002,514,944
8Aug 17, 2024 05:424,672541,609,4299,966,0004,983,0002,383,872
9Aug 17, 2024 05:424,682542,458,34912,986,0001,997,0002,523,136
10Aug 17, 2024 05:424,981580,726,29915,939,44802,265,088
11Aug 17, 2024 05:424,995575,680,67315,984,43102,269,184
12Aug 17, 2024 05:425,028587,408,73216,088,25702,269,184