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 23, 2022 00:39Robert BurkeRobert BurkeScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 00:394,57739,149,57413,600,0001,046,0002,441,216
2Jul 23, 2022 00:394,58631,198,96113,628,0001,048,0002,281,472
3Jul 23, 2022 00:394,59032,927,14713,639,0001,049,0002,445,312
4Jul 23, 2022 00:394,59738,066,97013,661,0001,050,0002,281,472
5Jul 23, 2022 00:394,61437,869,76912,797,0001,968,0002,269,184
6Jul 23, 2022 00:394,63439,536,76413,840,000988,0002,457,600
7Jul 23, 2022 00:394,64935,352,28512,894,0001,983,0002,535,424
8Jul 23, 2022 00:394,65130,180,12012,899,0001,984,0002,445,312
9Jul 23, 2022 00:394,65145,835,07912,899,0001,984,0002,445,312
10Jul 23, 2022 00:394,82356,692,18915,433,09702,203,648
11Jul 23, 2022 00:394,84376,244,40115,496,66202,199,552
12Jul 23, 2022 00:394,84494,175,36015,500,12202,215,936