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:56Ulyanov AlekseyUlyanov AlekseyScore: 5,922Success
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:565,89845,296,96616,887,0001,986,0002,277,376
2Jun 17, 2023 22:565,90344,419,77015,907,0002,982,0002,277,376
3Jun 17, 2023 22:565,90547,527,60816,907,0001,989,0002,273,280
4Jun 17, 2023 22:565,91841,422,65716,943,0001,993,0002,277,376
5Jun 17, 2023 22:565,91835,629,32015,947,0002,990,0002,277,376
6Jun 17, 2023 22:565,92247,559,19916,956,0001,994,0002,269,184
7Jun 17, 2023 22:565,92242,298,44715,959,0002,992,0002,277,376
8Jun 17, 2023 22:565,92438,421,77016,961,0001,995,0002,277,376
9Jun 17, 2023 22:565,93441,657,01716,991,0001,998,0002,531,328
10Jun 17, 2023 22:566,12495,317,22219,597,85302,297,856
11Jun 17, 2023 22:566,14597,376,55319,662,69802,297,856
12Jun 17, 2023 22:566,16587,937,31919,727,83202,301,952