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 listOct 21, 2024 11:14Sybrand AarnoutseSybrand AarnoutseScore: 5,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 21, 2024 11:095,49339,939,48216,544,0001,034,0002,285,568
2Oct 21, 2024 11:095,49740,675,29416,557,0001,034,0002,285,568
3Oct 21, 2024 11:145,49839,584,43816,559,0001,034,0002,285,568
4Oct 21, 2024 11:095,50039,373,96517,599,00002,285,568
5Oct 21, 2024 11:095,50235,877,93116,572,0001,035,0002,375,680
6Oct 21, 2024 11:095,50749,525,26416,587,0001,036,0002,285,568
7Oct 21, 2024 11:095,51347,568,39716,605,0001,037,0002,269,184
8Oct 21, 2024 11:095,51634,893,13116,612,0001,038,0002,527,232
9Oct 21, 2024 11:095,52142,675,68816,627,0001,039,0002,285,568
10Oct 21, 2024 11:145,53535,683,12817,712,00002,273,280
11Oct 21, 2024 11:145,58148,266,06215,876,0001,984,0002,285,568
12Oct 21, 2024 11:095,58444,828,24915,885,0001,985,0002,285,568