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 15, 2024 17:42ii14ii14Score: 5,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 17:425,65044,930,94515,068,0003,013,0002,519,040
2Jun 15, 2024 17:425,66734,654,36516,120,0002,015,0002,392,064
3Jun 15, 2024 17:425,67248,747,61216,135,0002,016,0002,387,968
4Jun 15, 2024 17:425,67638,146,50616,145,0002,018,0002,519,040
5Jun 15, 2024 17:425,68949,973,46616,182,0002,022,0002,519,040
6Jun 15, 2024 17:425,69134,116,51515,177,0003,035,0002,519,040
7Jun 15, 2024 17:425,70044,056,74416,214,0002,026,0002,387,968
8Jun 15, 2024 17:425,70845,505,08816,238,0002,029,0002,392,064
9Jun 15, 2024 17:425,72246,294,56717,292,0001,017,0002,519,040
10Jun 15, 2024 17:425,92983,092,52318,973,12102,277,376
11Jun 15, 2024 17:425,94357,273,27119,018,76902,297,856
12Jun 15, 2024 17:425,96366,436,83419,081,08302,289,664