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,963Success
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,91245,641,99615,718,00002,269,184
2Jun 30, 2024 16:574,95133,238,34712,874,0002,970,0002,269,184
3Jun 30, 2024 16:574,95835,455,60715,867,00002,269,184
4Jun 30, 2024 16:574,96033,110,46312,897,0002,976,0002,269,184
5Jun 30, 2024 16:574,96145,732,32914,882,000992,0002,531,328
6Jun 30, 2024 16:574,96235,664,50513,894,0001,984,0002,494,464
7Jun 30, 2024 16:574,96330,041,16714,890,000992,0002,498,560
8Jun 30, 2024 16:574,96442,052,44415,884,00002,531,328
9Jun 30, 2024 16:574,96530,706,30314,896,000993,0002,494,464
10Jun 30, 2024 16:575,18789,630,41216,598,34702,248,704
11Jun 30, 2024 16:575,19676,071,51516,626,28802,248,704
12Jun 30, 2024 16:575,23278,271,37116,742,17702,375,680