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:18Yuriy LyfenkoYuriy LyfenkoScore: 5,696Success
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:185,649546,978,02415,065,0003,013,0002,330,624
2Jul 13, 2021 19:185,652541,350,36415,071,0003,014,0002,334,720
3Jul 13, 2021 19:185,660546,937,63915,094,0003,018,0002,330,624
4Jul 13, 2021 19:185,664544,286,61016,112,0002,014,0002,330,624
5Jul 13, 2021 19:185,667540,390,46115,113,0003,022,0002,334,720
6Jul 13, 2021 19:185,675553,141,59416,142,0002,017,0002,527,232
7Jul 13, 2021 19:185,696548,442,87516,202,0002,025,0002,330,624
8Jul 13, 2021 19:185,703579,029,12518,249,61402,256,896
9Jul 13, 2021 19:185,715542,926,36714,225,0004,064,0002,334,720
10Jul 13, 2021 19:185,722583,261,58418,310,23402,236,416
11Jul 13, 2021 19:185,735540,798,05516,314,0002,039,0002,334,720
12Jul 13, 2021 19:185,757588,211,94618,422,98802,236,416