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 17, 2023 22:06Ulyanov AlekseyUlyanov AlekseyScore: 5,721Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:065,67739,610,19416,147,0002,018,0002,289,664
2Jun 17, 2023 22:065,69040,029,68116,184,0002,023,0002,289,664
3Jun 17, 2023 22:065,69544,626,90917,213,0001,012,0002,273,280
4Jun 17, 2023 22:065,70341,567,50416,221,0002,027,0002,273,280
5Jun 17, 2023 22:065,70751,355,17016,233,0002,029,0002,289,664
6Jun 17, 2023 22:065,72040,298,72116,270,0002,033,0002,277,376
7Jun 17, 2023 22:065,72141,078,12316,272,0002,034,0002,277,376
8Jun 17, 2023 22:065,72148,944,74616,272,0002,034,0002,289,664
9Jun 17, 2023 22:065,72337,382,28516,279,0002,034,0002,289,664
10Jun 17, 2023 22:065,887104,704,70318,837,40702,297,856
11Jun 17, 2023 22:065,90062,436,72118,878,45302,289,664
12Jun 17, 2023 22:065,95984,537,99219,068,86802,301,952