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 18:39Yuriy LyfenkoYuriy LyfenkoScore: 5,030Success
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 18:394,977537,327,50513,936,0001,990,0002,404,352
2Jun 3, 2021 18:394,988542,105,87413,968,0001,995,0002,281,472
3Jun 3, 2021 18:394,994539,020,36013,984,0001,997,0002,273,280
4Jun 3, 2021 18:394,996538,463,67314,987,000999,0002,281,472
5Jun 3, 2021 18:394,997542,037,60813,992,0001,998,0002,281,472
6Jun 3, 2021 18:394,998541,726,91714,994,000999,0002,281,472
7Jun 3, 2021 18:395,030539,109,23015,090,0001,006,0002,273,280
8Jun 3, 2021 18:395,036542,817,37815,109,0001,007,0002,281,472
9Jun 3, 2021 18:395,060545,035,21814,169,0002,024,0002,281,472
10Jun 3, 2021 18:395,136570,031,23016,434,30202,252,800
11Jun 3, 2021 18:395,151585,983,23716,482,43502,256,896
12Jun 3, 2021 18:395,184580,550,09616,587,51102,252,800