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 21:51Yuriy LyfenkoYuriy LyfenkoScore: 5,033Success
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 21:514,999289,204,05413,998,0001,999,0002,273,280
2Jun 2, 2021 21:515,002289,925,66515,005,0001,000,0002,404,352
3Jun 2, 2021 21:515,005296,471,58214,014,0002,002,0002,281,472
4Jun 2, 2021 21:515,027292,661,62114,075,0002,010,0002,408,448
5Jun 2, 2021 21:515,028292,487,93814,079,0002,011,0002,281,472
6Jun 2, 2021 21:515,030291,373,18215,090,0001,006,0002,273,280
7Jun 2, 2021 21:515,033286,862,46516,107,00002,281,472
8Jun 2, 2021 21:515,042289,447,02115,126,0001,008,0002,273,280
9Jun 2, 2021 21:515,059292,094,91715,177,0001,011,0002,281,472
10Jun 2, 2021 21:515,147319,705,28416,470,27502,256,896
11Jun 2, 2021 21:515,160333,993,89916,510,42002,260,992
12Jun 2, 2021 21:515,178326,826,82816,568,39102,252,800