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 listJan 3, 2023 21:00Hal FHal FScore: 4,756Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:004,72836,242,17013,112,0002,017,0002,289,664
2Jan 3, 2023 21:004,73837,547,15613,139,0002,021,0002,289,664
3Jan 3, 2023 21:004,73842,787,68213,141,0002,021,0002,289,664
4Jan 3, 2023 21:004,74632,715,91114,175,0001,012,0002,269,184
5Jan 3, 2023 21:004,74835,401,30613,168,0002,025,0002,289,664
6Jan 3, 2023 21:004,74937,161,21214,183,0001,013,0002,289,664
7Jan 3, 2023 21:004,75632,557,55213,189,0002,029,0002,289,664
8Jan 3, 2023 21:004,76238,641,82413,206,0002,031,0002,289,664
9Jan 3, 2023 21:004,77733,601,32513,247,0002,038,0002,273,280
10Jan 3, 2023 21:004,96378,630,97415,882,54902,297,856
11Jan 3, 2023 21:004,97485,512,69715,916,19402,301,952
12Jan 3, 2023 21:004,97768,818,54615,927,70002,297,856