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, 2023 17:03Alexander MonakovAlexander MonakovScore: 4,555Success
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, 2023 17:034,51635,445,56414,451,00002,277,376
2Jun 30, 2023 17:034,51638,289,79014,452,00002,494,464
3Jun 30, 2023 17:034,53029,188,66414,497,00002,277,376
4Jun 30, 2023 17:034,53135,058,03914,499,00002,277,376
5Jun 30, 2023 17:034,53228,780,40814,502,00002,494,464
6Jun 30, 2023 17:034,53330,252,06514,504,00002,498,560
7Jun 30, 2023 17:034,54634,522,95914,546,00002,535,424
8Jun 30, 2023 17:034,54634,046,77014,548,00002,502,656
9Jun 30, 2023 17:034,54742,276,95814,549,00002,277,376
10Jun 30, 2023 17:034,55330,699,18513,528,0001,040,0002,502,656
11Jun 30, 2023 17:034,55337,859,96114,569,00002,277,376
12Jun 30, 2023 17:034,55436,390,19413,532,0001,040,0002,277,376
13Jun 30, 2023 17:034,55531,245,12814,576,00002,277,376
14Jun 30, 2023 17:034,56135,182,02514,594,00002,277,376
15Jun 30, 2023 17:034,56442,339,14914,605,00002,535,424
16Jun 30, 2023 17:034,57343,213,40713,588,0001,045,0002,277,376
17Jun 30, 2023 17:034,57827,100,78113,602,0001,046,0002,502,656
18Jun 30, 2023 17:034,59230,563,36213,646,0001,049,0002,277,376
19Jun 30, 2023 17:034,78480,645,93815,307,93502,244,608
20Jun 30, 2023 17:034,78891,678,96915,321,58302,256,896
21Jun 30, 2023 17:034,79477,833,15415,341,83202,244,608
22Jun 30, 2023 17:034,80284,319,21415,365,10302,240,512
23Jun 30, 2023 17:034,81382,263,78015,400,90002,244,608
24Jun 30, 2023 17:034,83790,127,06715,478,39902,240,512