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 listJul 13, 2021 19:35Yuriy LyfenkoYuriy LyfenkoScore: 5,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:355,635544,804,50815,028,0003,005,0002,330,624
2Jul 13, 2021 19:355,653549,326,35515,076,0003,015,0002,527,232
3Jul 13, 2021 19:355,660542,999,32916,099,0002,012,0002,330,624
4Jul 13, 2021 19:355,661546,852,34115,097,0003,019,0002,330,624
5Jul 13, 2021 19:355,670539,038,91316,128,0002,016,0002,334,720
6Jul 13, 2021 19:355,677540,768,67215,138,0003,027,0002,531,328
7Jul 13, 2021 19:355,679542,595,78216,155,0002,019,0002,330,624
8Jul 13, 2021 19:355,683570,464,59018,186,24702,252,800
9Jul 13, 2021 19:355,690538,522,24316,184,0002,023,0002,387,968
10Jul 13, 2021 19:355,696540,924,95417,215,0001,012,0002,330,624
11Jul 13, 2021 19:355,701570,506,76418,242,29002,256,896
12Jul 13, 2021 19:355,734577,697,27318,348,71902,220,032