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 8, 2024 11:04джулисджулисScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 11:045,66244,609,73016,105,0002,013,0002,363,392
2Jun 8, 2024 11:045,66842,869,21817,132,0001,007,0002,293,760
3Jun 8, 2024 11:045,69541,544,90117,212,0001,012,0002,375,680
4Jun 8, 2024 11:045,69645,034,13016,201,0002,025,0002,371,584
5Jun 8, 2024 11:045,69740,680,20916,204,0002,025,0002,363,392
6Jun 8, 2024 11:045,70039,264,89717,228,0001,013,0002,367,488
7Jun 8, 2024 11:045,70350,143,14416,222,0002,027,0002,363,392
8Jun 8, 2024 11:045,71833,778,98518,299,00002,293,760
9Jun 8, 2024 11:045,72646,764,96518,323,00002,293,760
10Jun 8, 2024 11:045,88788,279,54318,839,35702,244,608
11Jun 8, 2024 11:045,94496,408,74819,020,40502,252,800
12Jun 8, 2024 11:045,94871,020,14719,032,99402,248,704