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 16:57AnSaAnSaScore: 4,823Success
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 16:574,78842,782,05415,323,00002,494,464
2Jun 30, 2024 16:574,78933,454,74415,325,00002,269,184
3Jun 30, 2024 16:574,79336,127,03714,317,0001,022,0002,498,560
4Jun 30, 2024 16:574,80329,133,26214,344,0001,024,0002,531,328
5Jun 30, 2024 16:574,80846,872,57115,387,00002,531,328
6Jun 30, 2024 16:574,82041,408,53715,425,00002,494,464
7Jun 30, 2024 16:574,82331,051,51314,406,0001,029,0002,490,368
8Jun 30, 2024 16:574,83245,210,48713,401,0002,061,0002,498,560
9Jun 30, 2024 16:574,87246,524,85615,591,00002,531,328
10Jun 30, 2024 16:575,05478,945,03816,173,15502,248,704
11Jun 30, 2024 16:575,09288,960,08316,293,68802,248,704
12Jun 30, 2024 16:575,11054,888,11116,352,59402,244,608