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 1, 2022 07:29Keichi TakahashiKeichi TakahashiScore: 5,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2022 07:295,44834,891,94017,433,00002,289,664
2Jun 1, 2022 07:295,46235,450,03116,450,0001,028,0002,273,280
3Jun 1, 2022 07:295,46443,917,23416,456,0001,028,0002,289,664
4Jun 1, 2022 07:295,46544,972,08016,460,0001,028,0002,289,664
5Jun 1, 2022 07:295,46635,309,29616,462,0001,028,0002,273,280
6Jun 1, 2022 07:295,46733,245,91616,466,0001,029,0002,273,280
7Jun 1, 2022 07:295,47847,187,22316,499,0001,031,0002,289,664
8Jun 1, 2022 07:295,50949,427,21416,593,0001,037,0002,277,376
9Jun 1, 2022 07:295,53243,400,65517,702,00002,265,088
10Jun 1, 2022 07:295,65290,364,79818,086,14002,301,952
11Jun 1, 2022 07:295,65959,994,04018,110,35302,301,952
12Jun 1, 2022 07:295,67377,212,01518,152,08602,293,760