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 listMay 15, 2023 20:54AmirAmirScore: 5,833Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 20:545,78345,849,56617,476,0001,028,0002,289,664
2May 15, 2023 20:545,79640,490,53418,547,00002,273,280
3May 15, 2023 20:545,79734,727,63217,520,0001,030,0002,289,664
4May 15, 2023 20:545,79743,107,65117,521,0001,030,0002,363,392
5May 15, 2023 20:545,81136,214,70617,563,0001,033,0002,269,184
6May 15, 2023 20:545,81835,427,10617,583,0001,034,0002,289,664
7May 15, 2023 20:545,83344,694,19617,629,0001,037,0002,269,184
8May 15, 2023 20:545,84346,613,87317,658,0001,038,0002,273,280
9May 15, 2023 20:545,90036,868,26616,894,0001,987,0002,289,664
10May 15, 2023 20:545,93487,710,51418,990,31902,174,976
11May 15, 2023 20:545,95188,012,53119,043,29402,301,952
12May 15, 2023 20:545,973106,696,64019,114,03102,293,760