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 7, 2023 06:42Alexander MonakovAlexander MonakovScore: 4,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 06:424,543239,630,23012,600,0001,938,0002,494,464
2Jun 7, 2023 06:454,550246,998,14112,619,0001,941,0002,535,424
3Jun 7, 2023 06:424,553244,908,28114,571,00002,498,560
4Jun 7, 2023 06:424,556243,089,28813,608,000972,0002,310,144
5Jun 7, 2023 06:424,558244,181,56113,613,000972,0002,535,424
6Jun 7, 2023 06:454,559240,649,82513,617,000972,0002,498,560
7Jun 7, 2023 06:454,559243,018,24014,590,00002,535,424
8Jun 7, 2023 06:454,560247,111,31313,621,000972,0002,310,144
9Jun 7, 2023 06:454,560244,327,66413,621,000972,0002,535,424
10Jun 7, 2023 06:454,561239,040,94913,623,000973,0002,535,424
11Jun 7, 2023 06:424,566247,008,22913,638,000974,0002,535,424
12Jun 7, 2023 06:454,567236,873,59113,639,000974,0002,535,424
13Jun 7, 2023 06:454,568239,101,76013,645,000974,0002,490,368
14Jun 7, 2023 06:424,568238,231,98114,616,00002,502,656
15Jun 7, 2023 06:424,572241,118,61913,655,000975,0002,494,464
16Jun 7, 2023 06:424,574237,876,24513,662,000975,0002,535,424
17Jun 7, 2023 06:454,593239,495,74314,696,00002,502,656
18Jun 7, 2023 06:424,596240,294,20813,658,0001,050,0002,535,424
19Jun 7, 2023 06:454,789275,160,55515,324,49402,387,968
20Jun 7, 2023 06:454,803278,143,92515,369,72502,351,104
21Jun 7, 2023 06:424,823270,728,56615,434,86502,347,008
22Jun 7, 2023 06:454,829277,734,30815,453,36302,355,200
23Jun 7, 2023 06:424,854278,994,84815,534,35402,359,296
24Jun 7, 2023 06:424,854282,765,21515,531,77402,355,200