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 6, 2021 01:08Yuriy LyfenkoYuriy LyfenkoScore: 5,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 01:085,05631,378,86314,158,0002,022,0002,387,968
2Jul 6, 2021 01:085,06639,820,92115,197,0001,013,0002,265,088
3Jul 6, 2021 01:085,07633,780,13115,227,0001,015,0002,392,064
4Jul 6, 2021 01:085,08642,880,57815,259,0001,017,0002,392,064
5Jul 6, 2021 01:085,09236,888,88714,257,0002,036,0002,265,088
6Jul 6, 2021 01:085,09243,689,73015,277,0001,018,0002,392,064
7Jul 6, 2021 01:085,10435,220,69116,333,00002,396,160
8Jul 6, 2021 01:085,11235,593,73814,313,0002,044,0002,387,968
9Jul 6, 2021 01:085,13135,653,81214,368,0002,052,0002,265,088
10Jul 6, 2021 01:085,25679,492,77916,819,42302,273,280
11Jul 6, 2021 01:085,26065,336,10216,831,57502,273,280
12Jul 6, 2021 01:085,28975,801,59616,925,04702,281,472