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 5, 2023 17:59Alexander MonakovAlexander MonakovScore: 5,099Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2023 17:595,03830,555,74215,116,0001,007,0002,277,376
2Jun 5, 2023 17:595,05431,383,54315,163,0001,010,0002,498,560
3Jun 5, 2023 17:595,05542,577,95915,165,0001,011,0002,498,560
4Jun 5, 2023 17:595,06739,462,32115,202,0001,013,0002,494,464
5Jun 5, 2023 17:595,07835,225,44116,251,00002,498,560
6Jun 5, 2023 17:595,09641,819,53416,306,00002,277,376
7Jun 5, 2023 17:595,09932,389,51016,316,00002,277,376
8Jun 5, 2023 17:595,10239,149,44116,326,00002,498,560
9Jun 5, 2023 17:595,10731,433,13915,322,0001,021,0002,277,376
10Jun 5, 2023 17:595,27769,897,28316,886,73702,244,608
11Jun 5, 2023 17:595,28684,120,22216,915,98002,236,416
12Jun 5, 2023 17:595,32962,985,54217,054,35402,252,800