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:17Alexander MonakovAlexander MonakovScore: 4,602Success
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:174,56641,604,60914,610,00002,498,560
2Jan 22, 2024 09:174,58237,249,46614,663,00002,494,464
3Jan 22, 2024 09:174,58440,092,52114,670,00002,277,376
4Jan 22, 2024 09:174,58741,657,82014,677,00002,277,376
5Jan 22, 2024 09:174,59731,278,90514,711,00002,502,656
6Jan 22, 2024 09:174,59927,383,84713,665,0001,051,0002,494,464
7Jan 22, 2024 09:174,60226,640,57814,727,00002,277,376
8Jan 22, 2024 09:174,64830,325,88713,882,000991,0002,498,560
9Jan 22, 2024 09:174,64932,189,20114,877,00002,277,376
10Jan 22, 2024 09:174,81058,246,75015,393,21502,236,416
11Jan 22, 2024 09:174,85968,687,12615,549,52302,240,512
12Jan 22, 2024 09:174,86889,443,37815,576,26002,244,608