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 15, 2024 14:24джулисджулисScore: 5,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 14:245,18934,221,90815,568,0001,037,0002,375,680
2Jun 15, 2024 14:245,19842,135,52915,595,0001,039,0002,379,776
3Jun 15, 2024 14:245,21343,160,02415,641,0001,042,0002,293,760
4Jun 15, 2024 14:245,21541,967,02516,687,00002,289,664
5Jun 15, 2024 14:245,26735,094,46816,855,00002,293,760
6Jun 15, 2024 14:245,26943,204,06815,871,000991,0002,375,680
7Jun 15, 2024 14:245,26948,533,02615,871,000991,0002,375,680
8Jun 15, 2024 14:245,27044,610,90714,881,0001,984,0002,363,392
9Jun 15, 2024 14:245,27734,398,53514,901,0001,986,0002,293,760
10Jun 15, 2024 14:245,44988,798,32317,435,23502,248,704
11Jun 15, 2024 14:245,45570,658,91217,455,17502,244,608
12Jun 15, 2024 14:245,48084,354,59017,535,96102,252,800