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 18, 2024 12:28Sybrand AarnoutseSybrand AarnoutseScore: 10,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 18, 2024 12:2810,45059,220,57433,439,00002,371,584
2Oct 18, 2024 12:2810,46158,536,05232,461,0001,014,0002,383,872
3Oct 18, 2024 12:2810,46361,050,97632,466,0001,014,0002,293,760
4Oct 18, 2024 12:2810,46657,811,70333,490,00002,293,760
5Oct 18, 2024 12:2810,46752,893,87733,494,00002,367,488
6Oct 18, 2024 12:2810,47861,329,47233,529,00002,293,760
7Oct 18, 2024 12:2810,48056,095,44533,535,00002,293,760
8Oct 18, 2024 12:2810,48355,411,62232,529,0001,016,0002,289,664
9Oct 18, 2024 12:2810,49458,137,38033,581,00002,289,664