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 listJun 2, 2021 14:19Yuriy LyfenkoYuriy LyfenkoScore: 5,065Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:195,01842,336,59614,050,0002,007,0002,392,064
2Jun 2, 2021 14:195,02143,700,76415,064,0001,004,0002,265,088
3Jun 2, 2021 14:195,02841,709,82614,077,0002,011,0002,265,088
4Jun 2, 2021 14:195,05534,184,36215,166,0001,011,0002,265,088
5Jun 2, 2021 14:195,06337,437,63914,177,0002,025,0002,265,088
6Jun 2, 2021 14:195,06342,024,27515,190,0001,012,0002,265,088
7Jun 2, 2021 14:195,06541,597,23815,196,0001,013,0002,400,256
8Jun 2, 2021 14:195,06746,330,56215,202,0001,013,0002,265,088
9Jun 2, 2021 14:195,06945,279,61815,209,0001,013,0002,265,088
10Jun 2, 2021 14:195,22589,290,77816,720,21802,277,376
11Jun 2, 2021 14:195,23964,139,26716,765,84802,277,376
12Jun 2, 2021 14:195,25399,014,13516,810,96902,269,184