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 12, 2021 00:29Mikhail ShirokovMikhail ShirokovScore: 5,744Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2021 00:295,70245,890,41117,233,0001,013,0002,265,088
2Oct 12, 2021 00:295,71343,818,10616,249,0002,031,0002,396,160
3Oct 12, 2021 00:295,72789,151,92218,325,47802,281,472
4Oct 12, 2021 00:295,72746,710,22817,308,0001,018,0002,510,848
5Oct 12, 2021 00:295,73341,191,53118,346,00002,383,872
6Oct 12, 2021 00:295,73640,532,89718,355,00002,265,088
7Oct 12, 2021 00:295,74483,673,23318,381,50002,281,472
8Oct 12, 2021 00:295,74736,632,59417,370,0001,021,0002,396,160
9Oct 12, 2021 00:295,74839,680,23017,371,0001,021,0002,265,088
10Oct 12, 2021 00:295,75044,213,77317,379,0001,022,0002,269,184
11Oct 12, 2021 00:295,77439,463,04618,478,00002,269,184
12Oct 12, 2021 00:295,78984,503,78018,523,98102,281,472