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 8, 2021 16:53Yuriy LyfenkoYuriy LyfenkoScore: 4,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:534,406545,785,90112,085,0002,014,0002,519,040
2Jul 8, 2021 16:534,438538,465,97913,187,0001,014,0002,265,088
3Jul 8, 2021 16:534,438537,353,49012,173,0002,028,0002,260,992
4Jul 8, 2021 16:534,448540,572,21812,200,0002,033,0002,269,184
5Jul 8, 2021 16:534,451538,236,42313,227,0001,017,0002,523,136
6Jul 8, 2021 16:534,453536,816,62113,232,0001,017,0002,527,232
7Jul 8, 2021 16:534,473534,573,73814,313,00002,265,088
8Jul 8, 2021 16:534,484539,212,16314,350,00002,265,088
9Jul 8, 2021 16:534,493540,034,58913,351,0001,027,0002,523,136
10Jul 8, 2021 16:534,591573,154,43214,692,42802,240,512
11Jul 8, 2021 16:534,602578,397,11414,726,62402,273,280
12Jul 8, 2021 16:534,612574,604,03214,758,69602,269,184