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 listMay 25, 2021 23:04Mikhail DektyarevMikhail DektyarevScore: 4,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 23:044,77131,954,21813,231,0002,035,0002,281,472
2May 25, 2021 23:044,77229,424,31714,252,0001,018,0002,281,472
3May 25, 2021 23:044,77530,274,97914,262,0001,018,0002,404,352
4May 25, 2021 23:044,77934,232,02913,255,0002,039,0002,396,160
5May 25, 2021 23:044,78232,367,76614,282,0001,020,0002,396,160
6May 25, 2021 23:044,78231,293,36213,263,0002,040,0002,281,472
7May 25, 2021 23:044,78836,431,16515,322,00002,400,256
8May 25, 2021 23:044,79036,445,97713,285,0002,043,0002,281,472
9May 25, 2021 23:044,79141,246,25714,308,0001,022,0002,400,256
10May 25, 2021 23:044,79236,039,21714,311,0001,022,0002,281,472
11May 25, 2021 23:044,79333,251,22814,315,0001,022,0002,281,472
12May 25, 2021 23:044,79937,644,19014,335,0001,023,0002,281,472
13May 25, 2021 23:044,80938,348,67915,389,00002,400,256
14May 25, 2021 23:044,80937,940,32214,363,0001,025,0002,396,160
15May 25, 2021 23:044,81845,852,30514,389,0001,027,0002,281,472
16May 25, 2021 23:044,82334,643,50914,406,0001,029,0002,281,472
17May 25, 2021 23:044,82432,360,29414,407,0001,029,0002,482,176
18May 25, 2021 23:044,82932,933,21215,452,00002,281,472
19May 25, 2021 23:045,01490,341,10916,043,95602,252,800
20May 25, 2021 23:045,01839,978,26116,058,77202,285,568
21May 25, 2021 23:045,040118,799,93916,127,24402,293,760
22May 25, 2021 23:045,04744,258,94316,149,12102,285,568
23May 25, 2021 23:045,08152,339,62816,259,14002,289,664
24May 25, 2021 23:045,08743,794,28016,277,68502,285,568