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 listJan 22, 2024 09:16Alexander MonakovAlexander MonakovScore: 4,884Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:164,86342,373,62015,561,00002,498,560
2Jan 22, 2024 09:164,86833,159,18315,576,00002,277,376
3Jan 22, 2024 09:164,86835,505,80615,578,00002,277,376
4Jan 22, 2024 09:164,87831,271,46415,611,00002,277,376
5Jan 22, 2024 09:164,88039,273,42615,616,00002,277,376
6Jan 22, 2024 09:164,88329,225,56415,625,00002,277,376
7Jan 22, 2024 09:164,88431,038,25215,630,00002,502,656
8Jan 22, 2024 09:164,89827,959,61814,628,0001,044,0002,498,560
9Jan 22, 2024 09:164,90344,118,36615,688,00002,498,560
10Jan 22, 2024 09:165,08876,084,19816,281,72502,240,512
11Jan 22, 2024 09:165,10385,617,36916,330,82402,240,512
12Jan 22, 2024 09:165,14292,676,63016,453,95302,240,512