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 14, 2021 20:29alex3dalex3dScore: 4,815Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 20:294,78228,693,02915,301,00002,519,040
2May 14, 2021 20:294,78741,228,32215,318,00002,519,040
3May 14, 2021 20:294,79130,752,53615,332,00002,392,064
4May 14, 2021 20:294,79532,624,56714,321,0001,022,0002,392,064
5May 14, 2021 20:294,79642,179,84214,324,0001,023,0002,383,872
6May 14, 2021 20:294,79634,448,00714,325,0001,023,0002,387,968
7May 14, 2021 20:294,79830,908,25913,306,0002,047,0002,392,064
8May 14, 2021 20:294,79932,051,24714,334,0001,023,0002,396,160
9May 14, 2021 20:294,80638,504,80914,355,0001,025,0002,510,848
10May 14, 2021 20:294,80630,022,01015,380,00002,392,064
11May 14, 2021 20:294,80832,351,48514,361,0001,025,0002,519,040
12May 14, 2021 20:294,81239,448,25914,372,0001,026,0002,519,040
13May 14, 2021 20:294,81542,094,79214,382,0001,027,0002,519,040
14May 14, 2021 20:294,81927,280,00414,392,0001,028,0002,383,872
15May 14, 2021 20:294,82130,230,62715,426,00002,519,040
16May 14, 2021 20:294,82345,188,67015,435,00002,519,040
17May 14, 2021 20:294,82532,591,47815,439,00002,387,968
18May 14, 2021 20:294,86333,280,93014,525,0001,037,0002,519,040
19May 14, 2021 20:295,01779,798,21716,053,56302,289,664
20May 14, 2021 20:295,06983,911,53116,219,75002,281,472
21May 14, 2021 20:295,07061,608,31416,222,56302,273,280
22May 14, 2021 20:295,08062,759,66816,255,83502,289,664
23May 14, 2021 20:295,10768,326,57616,341,13102,269,184
24May 14, 2021 20:295,10977,630,51216,347,90602,281,472