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 30, 2024 10:38AnSaAnSaScore: 5,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:385,02331,145,21714,063,0002,009,0002,289,664
2Jun 30, 2024 10:385,04038,770,30915,121,0001,008,0002,265,088
3Jun 30, 2024 10:385,04839,710,28314,136,0002,019,0002,289,664
4Jun 30, 2024 10:385,04834,028,21714,136,0002,019,0002,289,664
5Jun 30, 2024 10:385,05238,329,39214,145,0002,020,0002,289,664
6Jun 30, 2024 10:385,05337,969,52615,159,0001,010,0002,387,968
7Jun 30, 2024 10:385,06033,639,32515,181,0001,012,0002,281,472
8Jun 30, 2024 10:385,06134,459,38714,170,0002,024,0002,289,664
9Jun 30, 2024 10:385,08439,274,35114,235,0002,033,0002,527,232
10Jun 30, 2024 10:385,24280,474,96616,775,75202,285,568
11Jun 30, 2024 10:385,34566,705,83517,104,19102,289,664
12Jun 30, 2024 10:385,35080,324,83917,119,92402,174,976