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 listMar 18, 2023 07:04Alexander MonakovAlexander MonakovScore: 4,530Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 07:044,47529,712,49014,319,00002,498,560
2Mar 18, 2023 07:044,48134,878,97614,339,00002,490,368
3Mar 18, 2023 07:044,49931,602,83614,397,00002,277,376
4Mar 18, 2023 07:044,50732,854,83714,422,00002,277,376
5Mar 18, 2023 07:044,50828,278,14414,426,00002,277,376
6Mar 18, 2023 07:044,52928,406,44913,459,0001,035,0002,277,376
7Mar 18, 2023 07:044,53031,871,32714,497,00002,277,376
8Mar 18, 2023 07:044,53335,265,53513,470,0001,036,0002,277,376
9Mar 18, 2023 07:044,53834,971,64314,521,00002,494,464
10Mar 18, 2023 07:044,76478,136,29015,243,98702,244,608
11Mar 18, 2023 07:044,77392,578,08615,274,48402,232,320
12Mar 18, 2023 07:044,78888,376,40815,322,44302,236,416