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 13, 2024 00:54джулисджулисScore: 5,329Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 00:545,28238,752,02115,846,0001,056,0002,375,680
2Jun 13, 2024 00:545,28845,943,07915,925,000995,0002,371,584
3Jun 13, 2024 00:545,29637,403,48614,954,0001,993,0002,371,584
4Jun 13, 2024 00:545,30543,020,98515,978,000998,0002,293,760
5Jun 13, 2024 00:545,31239,987,69015,998,000999,0002,367,488
6Jun 13, 2024 00:545,32742,694,52416,045,0001,002,0002,293,760
7Jun 13, 2024 00:545,32938,309,96216,050,0001,003,0002,293,760
8Jun 13, 2024 00:545,33740,411,47915,070,0002,009,0002,293,760
9Jun 13, 2024 00:545,33945,530,31917,086,00002,293,760
10Jun 13, 2024 00:545,53992,674,38217,724,70202,236,416
11Jun 13, 2024 00:545,54087,410,07217,727,63202,248,704
12Jun 13, 2024 00:545,605108,991,58917,937,03702,248,704