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 3, 2021 16:25Yuriy LyfenkoYuriy LyfenkoScore: 5,039Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:254,993735,324,48413,981,0001,997,0002,400,256
2Jun 3, 2021 16:254,994743,013,45513,985,0001,997,0002,281,472
3Jun 3, 2021 16:254,994737,095,00014,984,000998,0002,273,280
4Jun 3, 2021 16:254,996738,017,15513,988,0001,998,0002,273,280
5Jun 3, 2021 16:254,997740,630,18213,992,0001,998,0002,273,280
6Jun 3, 2021 16:255,012741,707,04715,037,0001,002,0002,273,280
7Jun 3, 2021 16:255,039738,073,78415,117,0001,007,0002,273,280
8Jun 3, 2021 16:255,041739,535,69914,116,0002,016,0002,281,472
9Jun 3, 2021 16:255,045742,153,21514,127,0002,018,0002,408,448
10Jun 3, 2021 16:255,141767,149,39016,449,73002,252,800
11Jun 3, 2021 16:255,149780,859,80716,477,60902,256,896
12Jun 3, 2021 16:255,186790,458,14616,595,26202,285,568