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 listJun 30, 2023 17:41Alexander MonakovAlexander MonakovScore: 4,561Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 17:414,49040,598,00614,367,00002,531,328
2Jun 30, 2023 17:414,50033,870,10414,401,00002,277,376
3Jun 30, 2023 17:414,51633,622,58814,452,00002,478,080
4Jun 30, 2023 17:414,52841,499,87513,525,000966,0002,490,368
5Jun 30, 2023 17:414,53834,549,40213,484,0001,037,0002,486,272
6Jun 30, 2023 17:414,53927,410,28514,525,00002,535,424
7Jun 30, 2023 17:414,54136,065,03714,531,00002,277,376
8Jun 30, 2023 17:414,54335,609,77013,498,0001,038,0002,473,984
9Jun 30, 2023 17:414,54730,980,46313,512,0001,039,0002,273,280
10Jun 30, 2023 17:414,54731,899,94913,512,0001,039,0002,277,376
11Jun 30, 2023 17:414,54828,608,82214,554,00002,277,376
12Jun 30, 2023 17:414,55336,754,20214,568,00002,277,376
13Jun 30, 2023 17:414,56128,852,96713,554,0001,042,0002,482,176
14Jun 30, 2023 17:414,56430,869,97914,605,00002,277,376
15Jun 30, 2023 17:414,57135,096,15914,627,00002,478,080
16Jun 30, 2023 17:414,57326,558,96413,589,0001,045,0002,478,080
17Jun 30, 2023 17:414,57440,331,05013,592,0001,045,0002,277,376
18Jun 30, 2023 17:414,64732,294,10012,889,0001,982,0002,277,376
19Jun 30, 2023 17:414,74479,445,83115,181,52902,228,224
20Jun 30, 2023 17:414,78477,375,57615,309,34202,224,128
21Jun 30, 2023 17:414,79084,448,52115,326,83002,236,416
22Jun 30, 2023 17:414,79385,086,65715,337,58902,228,224
23Jun 30, 2023 17:414,80277,768,88315,367,62802,228,224
24Jun 30, 2023 17:414,80974,188,14315,389,05802,232,320